Import ezmlm-idx 0.40
[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
257x-confirm-reading-to
258x-pmrqc
259# Only one allowed
260list-help
261list-unsubscribe
262list-post
263To
264</lock/>
265</lockbounce/>
266</digest/lockbounce#d/>
267</digest/lock#d/>
268</public#p/>
269</archived#a/>
270</indexed#i/>
271</inhost/>
272<#H#>
273</outhost/>
274<#H#>
275</outlocal/>
276<#L#>
277</mailinglist/>
278contact <#L#>-help@<#H#>; run by ezmlm
279# Headeradd needs to always exist
280</headeradd#E/>
281# Good for mailing list stuff (and vacation program)
282Precedence: bulk
283# To prevent indexing by findmail.com
284X-No-Archive: yes
285# rfc2369
286list-help: <mailto:<#l#>-help@<#h#>>
287list-unsubscribe: <mailto:<#l#>-unsubscribe@<#h#>>
288list-post: <mailto:<#L#>@<#H#>>
289To:##L@##H
290# max & min message size
291</msgsize#x/>
29240000:2
293# remove mime parts if -x
294</mimeremove#x/>
295application/excel
296application/rtf
297application/msword
298application/ms-tnef
299text/html
300text/rtf
301text/enriched
302text/x-vcard
303application/activemessage
304application/andrew-inset
305application/applefile
306application/atomicmail
307application/dca-rft
308application/dec-dx
309application/mac-binhex40
310application/mac-compactpro
311application/macwriteii
312application/news-message-id
313application/news-transmission
314application/octet-stream
315application/oda
316application/pdf
317application/postscript
318application/powerpoint
319application/remote-printing
320application/slate
321application/wita
322application/wordperfect5.1
323application/x-bcpio
324application/x-cdlink
325application/x-compress
326application/x-cpio
327application/x-csh
328application/x-director
329application/x-dvi
330application/x-hdf
331application/x-httpd-cgi
332application/x-koan
333application/x-latex
334application/x-mif
335application/x-netcdf
336application/x-stuffit
337application/x-sv4cpio
338application/x-sv4crc
339application/x-tar
340application/x-tcl
341application/x-tex
342application/x-texinfo
343application/x-troff
344application/x-troff-man
345application/x-troff-me
346application/x-troff-ms
347application/x-ustar
348application/x-wais-source
349audio/basic
350audio/mpeg
351audio/x-aiff
352audio/x-pn-realaudio
353audio/x-pn-realaudio
354audio/x-pn-realaudio-plugin
355audio/x-realaudio
356audio/x-wav
357image/gif
358image/ief
359image/jpeg
360image/png
361image/tiff
362image/x-cmu-raster
363image/x-portable-anymap
364image/x-portable-bitmap
365image/x-portable-graymap
366image/x-portable-pixmap
367image/x-rgb
368image/x-xbitmap
369image/x-xpixmap
370image/x-xwindowdump
371text/x-sgml
372video/mpeg
373video/quicktime
374video/x-msvideo
375video/x-sgi-movie
376x-conference/x-cooltalk
377x-world/x-vrml
378# These can also be excluded, but for many lists it is desirable
379# to allow them. Uncomment to add to mimeremove.
380# application/zip
381# application/x-gtar
382# application/x-gzip
383# application/x-sh
384# application/x-shar
385# chemical/x-pdb
386# --------------------- Handle SQL connect info
387</-sql#^6e/>
388</-digest/sql#^6e/>
389</-allow/sql#^6e/>
390</sql#6W/>
391<#6#>
392</sql#6w/>
393<#6#>:<#L#>@<#H#>
394</digest/sql#6dW/>
395<#6#>_digest
396</digest/sql#6dw/>
397<#6#>_digest:<#L#>_digest@<#H#>
398</allow/sql#6/>
399<#6#>_allow
400# -------------------- End sql stuff
401</prefix#f/>
402[<#L#>]
403</text/trailer#t/>
404---------------------------------------------------------------------
405