Debianization and various other fixes.
[ezmlm] / ezmlmrc.ch_GB
CommitLineData
f8beb284
MW
10.324 - This version identifier must be on line 1 and start in pos 1.
2#
3#$Id: ezmlmrc.ch_GB,v 1.2 1999/12/23 23:08:19 lindberg Exp $
4#$Name: ezmlm-idx-040 $
5#
6# ezmlmrc
7# #######
8# Controls the actions of ezmlm-make as patched with ezmlm-idx-0.31 or later.
9#
10# The base directory 'DIR' is always created by ezmlm-make, as is DIR/key.
11# Everything else is done from here.
12#
13# ezmlm-make looks for this file, first as .ezmlmrc in the directory that the
14# lists .qmail files will be placed in (if you've used the -c command line
15# switch), then /etc/ezmlmrc, then ezmlmrc in the ezmlm-make binary directory.
16# Thus, you can customize ezmlm-make on a global level by placing a customized
17# copy of ezmlmrc in /etc and on a user level by copying it to .ezmlmrc in
18# the user's home directory AND use the ezmlm-make -c switch.
19#
20# Tags are:
21# </filename/> : put succeeding text lines in DIR/filename
22# </-filename/> : erase DIR/filename.
23# </+dirname/> : create directory DIR/dirname
24# </:lname/dirname> : symlink DIR/.qmail-list-lname -> DIR/dirname
25#
26# The name in the tag can be suffixed with '#' and any number of flags,
27# corresponding to command line switches. The item will be created/extended
28# only if all the flags listed are set. Files can be extended as long as they
29# were the last one created, but not if another file has been started since
30# then. Flags that are not recognized are silently ignored.
31#
32# Thus, </filename#aP/> creates the file if and only if the list is archived
33# (-a) and not public (-P). If the next tag is </filename#m/>, the file is
34# extended with the lines up to the next tag if the list is message moderated
35# (-m). If the next tag is </another/>, 'filename' is closed. Any further
36# tags leading to the reopenining of 'filename' will overwrite the file, not
37# extend it.
38#
39# A set of user-defined command line switches (xX, yY, zZ) are available for
40# customization.
41#
42# Within the text, certain tags are substituted. Other tags are copied as
43# is. <#A#> and <#R#> are substituted by ezmlm-manage and -store (see man pages)
44# and <#l#> (lower case L) is replaced dynamically by the list name for
45# programs handling both 'list' and 'list-digest'.
46#
47# Substitutions are:
48# <#B#> ezmlm binaries path <#C#> digest code <#D#> dir
49# <#H#> host <#L#> local <#F#> flags
50# <#T#> dot <#0#> arg for -0. <#3#>...<#9#> arg for -3..9
51# <#1#> ext1 <#2#> ext2 [if dot is /path/.qmail-ext1-ext2-name]
52# The latter useful when a single user is controlling several virtual domains.
53#
54# -0 is used for the main list address when setting up sublists
55# -4 for specifying the ezmlm-tstdig switches used in dir/editor. Default
56# -k64 -m30 -t24. Only used if -g is used.
57# -5 for list-owner address. Mail to list-owner will be forwarded to this addr.
58# -6 for sql connection info
59# -7 for contents of DIR/modpost
60# -8 for contents of DIR/modsub
61# -9 for contents of DIR/remote
62#
63# For demonstration purposes, the '-x' switch results in the following
64# non-standard actions:
65# - Removal of many non-text MIME parts from messages.
66# - Limit posts to 2 bytes <= msg body size <= 40000
67#
68# Attempts to create links or directories that already exist, will result
69# in a FATAL error. Attempts to open files that have already been closed
70# or already exits, will cause the old file to be overwritten.
71#
72# One of the major problems with ezmlm-lists is DIR/inlocal. For normal
73# users, it is set up to the list name (user-list or so), which is correct.
74# However, for user 'ezmlm' in control of virtual domain 'host.dom.com'
75# the list name is 'list@host.dom.com', but inlocal should be 'ezmlm-list',
76# not 'list'. Similarly, if ezmlm-domain1 is in control of 'host.dom.com,
77# list@host.dom.com, should yield an inlocal of 'ezmlm-domain1-list'. To
78# always get the lists correct, place this file as '.ezmlmrc' in the
79# users home directory (~ezmlm/.ezmlmrc) and change the inlocal text below
80# to 'ezmlm-<#L#>' or 'ezmlm-<#1#>-<#L#>, respectively.
81# config to support future editing without giving ezmlm-make command line
82# arguments other than dir. Useful for GUI/WWW editing tools
83</config/>
84F:<#F#>
85D:<#D#>
86T:<#T#>
87L:<#L#>
88H:<#H#>
89C:<#C#>
900:<#0#>
913:<#3#>
924:<#4#>
935:<#5#>
946:<#6#>
957:<#7#>
968:<#8#>
979:<#9#>
98</inlocal/>
99<#L#>
100</sublist#0/>
101<#0#>
102</+archive/>
103</+subscribers/>
104</+bounce/>
105</+text/>
106# dirs for digests
107</+digest#d/>
108</+digest/subscribers#d/>
109</+digest/bounce#d/>
110# for extra address db
111</+allow/>
112</+allow/subscribers/>
113# for blacklist
114</+deny#k/>
115</+deny/subscribers#k/>
116# moderator db & mod queue dirs. Needed for -m, -r -s, so we just
117# make them by default.
118</+mod/>
119</+mod/subscribers/>
120</+mod/pending/>
121</+mod/accepted/>
122</+mod/rejected/>
123# links: dot -> dir/editor
124</:/editor/>
125</:-owner/owner/>
126</:-digest-owner/owner#d/>
127</:-return-default/bouncer/>
128</:-digest-return-default/digest/bouncer#d/>
129</:-default/manager/>
130# for message moderation only
131</:-accept-default/moderator#m/>
132</:-reject-default/moderator#m/>
133# Get rid of configuration flags for editing mode so we can start with a
134# clean slate.
135</-modpost#eM/>
136</-modsub#eS/>
137</-remote#eR/>
138</-public#eP/>
139</-indexed#eI/>
140</-archived#eA/>
141</-prefix#eF/>
142</-text/trailer#eT/>
143</-sublist#e^0/>
144</-mimeremove#eX/>
145# Not needed, except for message moderation.
146</-moderator#eM/>
147# We don't clean out text files to make it easier for users
148# doing manual config by e.g. touching dir/remote.
149# subscription moderation
150</modsub#s/>
151<#8#>
152# remote admin
153</remote#r/>
154<#9#>
155# message moderation
156</modpost#m/>
157<#7#>
158# List owner mail
159</owner#5/>
160<#5#>
161</owner#^5/>
162<#D#>/Mailbox
163</#W/>
164|<#B#>/ezmlm-warn '<#D#>' || exit 0
165# Handles subscription. Add flags if you want a non-default digest format.
166# Service subject commands to the # request address if the -q switch is given.
167# Also -l and -d enable subscriber listing/text file editing, for remote adms.
168# -u gives subscriber only archive access
169</manager#iG/>
170|<#B#>/ezmlm-get '<#D#>' <#C#>
171</manager#ig/>
172|<#B#>/ezmlm-get -s '<#D#>' <#C#>
173</manager#q/>
174|<#B#>/ezmlm-request '<#D#>'
175# Ok to add -l/-d even for non-mod lists, since ezmlm-manage
176# won't allow it unless there are remote admins.
177</manager#LN/>
178|<#B#>/ezmlm-manage '<#D#>'
179</manager#lN/>
180|<#B#>/ezmlm-manage -l '<#D#>'
181</manager#Ln/>
182|<#B#>/ezmlm-manage -e '<#D#>'
183</manager#ln/>
184|<#B#>/ezmlm-manage -le '<#D#>'
185</manager#W/>
186|<#B#>/ezmlm-warn '<#D#>' || exit 0
187</#dW/>
188|<#B#>/ezmlm-warn -d '<#D#>' || exit 0
189</editor/>
190# reject shouldn't be configured for sublist.
191</#^0/>
192# full reject is now default, to get To/Cc: listaddress requirement
193|<#B#>/ezmlm-reject '<#D#>'
194# -k => reject posts from blacklisted addresses. Done for moderated
195# lists as well - allows removal of unwanted noise.
196</#k^0/>
197|<#B#>/ezmlm-issubn -n '<#D#>/deny' || { echo "Sorry, I've been told to reject your posts. Contact <#L#>-owner@<#H#> if you have questions about this (#5.7.2)"; exit 100 ; }
198# switch -u=> restrict to subs of list & digest. If not m
199# do it with ezmlm-issubn, if 'm' do it with ezmlm-gate
200</#uM/>
201|<#B#>/ezmlm-issubn '<#D#>' '<#D#>/digest' '<#D#>/allow' '<#D#>/mod' || { echo "Sorry, only subscribers may post. If you are a subscriber, please forward this message to <#L#>-owner@<#H#> to get your new address included (#5.7.2)"; exit 100 ; }
202</#um/>
203|<#B#>/ezmlm-gate '<#D#>' '<#D#>' '<#D#>/digest' '<#D#>/allow' '<#D#>/mod'
204# For message moderation, editor has store/clean
205</#mU/>
206|<#B#>/ezmlm-store '<#D#>'
207|<#B#>/ezmlm-clean '<#D#>' || exit 0
208</#mu/>
209|<#B#>/ezmlm-clean -R '<#D#>' || exit 0
210# for non-message moderated lists, it has send
211</#M/>
212|<#B#>/ezmlm-send '<#D#>'
213# all lists have warn unless -w.
214</#W/>
215|<#B#>/ezmlm-warn '<#D#>' || exit 0
216# for digest bounces
217</#dW/>
218|<#B#>/ezmlm-warn -d '<#D#>' || exit 0
219</#d^4/>
220|<#B#>/ezmlm-tstdig -m30 -k64 -t48 '<#D#>' || exit 99
221</#d4/>
222|<#B#>/ezmlm-tstdig <#4#> '<#D#>' || exit 99
223</#d/>
224|<#B#>/ezmlm-get '<#D#>' || exit 0
225# bouncer is complicated. We use ezmlm-receipt if -6 AND -w, but ezmlm-return
226# if (-6 and -W) OR (not -6 and -w). Since there is no or, we need 2 lines.
227</bouncer/>
228|<#B#>/ezmlm-weed
229</#^6/>
230|<#B#>/ezmlm-return -D '<#D#>'
231</#6W/>
232|<#B#>/ezmlm-return -D '<#D#>'
233</#6w/>
234|<#B#>/ezmlm-receipt -D '<#D#>'
235</digest/bouncer#d/>
236|<#B#>/ezmlm-weed
237</#^6d/>
238|<#B#>/ezmlm-return -d '<#D#>'
239</#6Wd/>
240|<#B#>/ezmlm-return -d '<#D#>'
241</#6wd/>
242|<#B#>/ezmlm-receipt -d '<#D#>'
243# moderator is set up only for message moderated lists. However, '-e' does
244# not remove it since we can't remove the symlinks to it (they're outside
245# of the list dir.
246</moderator#m/>
247|<#B#>/ezmlm-moderate '<#D#>'
248</#mU/>
249|<#B#>/ezmlm-clean '<#D#>' || exit 0
250</#mu/>
251|<#B#>/ezmlm-clean -R '<#D#>' || exit 0
252</headerremove#E/>
253return-path
254return-receipt-to
255content-length
256precedence
25a55efe 257disposition-notification-to
f8beb284
MW
258x-confirm-reading-to
259x-pmrqc
260# Only one allowed
261list-help
262list-unsubscribe
263list-post
264To
265</lock/>
266</lockbounce/>
267</digest/lockbounce#d/>
268</digest/lock#d/>
269</public#p/>
270</archived#a/>
271</indexed#i/>
272</inhost/>
273<#H#>
274</outhost/>
275<#H#>
276</outlocal/>
277<#L#>
278</mailinglist/>
279contact <#L#>-help@<#H#>; run by ezmlm
280# Headeradd needs to always exist
281</headeradd#E/>
282# Good for mailing list stuff (and vacation program)
283Precedence: bulk
284# To prevent indexing by findmail.com
285X-No-Archive: yes
286# rfc2369
287list-help: <mailto:<#l#>-help@<#h#>>
288list-unsubscribe: <mailto:<#l#>-unsubscribe@<#h#>>
289list-post: <mailto:<#L#>@<#H#>>
290To:##L@##H
291# max & min message size
292</msgsize#x/>
29340000:2
294# remove mime parts if -x
295</mimeremove#x/>
296application/excel
297application/rtf
298application/msword
299application/ms-tnef
300text/html
301text/rtf
302text/enriched
303text/x-vcard
304application/activemessage
305application/andrew-inset
306application/applefile
307application/atomicmail
308application/dca-rft
309application/dec-dx
310application/mac-binhex40
311application/mac-compactpro
312application/macwriteii
313application/news-message-id
314application/news-transmission
315application/octet-stream
316application/oda
317application/pdf
318application/postscript
319application/powerpoint
320application/remote-printing
321application/slate
322application/wita
323application/wordperfect5.1
324application/x-bcpio
325application/x-cdlink
326application/x-compress
327application/x-cpio
328application/x-csh
329application/x-director
330application/x-dvi
331application/x-hdf
332application/x-httpd-cgi
333application/x-koan
334application/x-latex
335application/x-mif
336application/x-netcdf
337application/x-stuffit
338application/x-sv4cpio
339application/x-sv4crc
340application/x-tar
341application/x-tcl
342application/x-tex
343application/x-texinfo
344application/x-troff
345application/x-troff-man
346application/x-troff-me
347application/x-troff-ms
348application/x-ustar
349application/x-wais-source
350audio/basic
351audio/mpeg
352audio/x-aiff
353audio/x-pn-realaudio
354audio/x-pn-realaudio
355audio/x-pn-realaudio-plugin
356audio/x-realaudio
357audio/x-wav
358image/gif
359image/ief
360image/jpeg
361image/png
362image/tiff
363image/x-cmu-raster
364image/x-portable-anymap
365image/x-portable-bitmap
366image/x-portable-graymap
367image/x-portable-pixmap
368image/x-rgb
369image/x-xbitmap
370image/x-xpixmap
371image/x-xwindowdump
372text/x-sgml
373video/mpeg
374video/quicktime
375video/x-msvideo
376video/x-sgi-movie
377x-conference/x-cooltalk
378x-world/x-vrml
379# These can also be excluded, but for many lists it is desirable
380# to allow them. Uncomment to add to mimeremove.
381# application/zip
382# application/x-gtar
383# application/x-gzip
384# application/x-sh
385# application/x-shar
386# chemical/x-pdb
387# --------------------- Handle SQL connect info
388</-sql#^6e/>
389</-digest/sql#^6e/>
390</-allow/sql#^6e/>
391</sql#6W/>
392<#6#>
393</sql#6w/>
394<#6#>:<#L#>@<#H#>
395</digest/sql#6dW/>
396<#6#>_digest
397</digest/sql#6dw/>
398<#6#>_digest:<#L#>_digest@<#H#>
399</allow/sql#6/>
400<#6#>_allow
401# -------------------- End sql stuff
402</prefix#f/>
403[<#L#>]
404</text/trailer#t/>
405---------------------------------------------------------------------
406