Commit | Line | Data |
---|---|---|
f8beb284 MW |
1 | 0.40 - This version identifier must be on line 1 and start in pos 1. |
2 | # | |
3 | #$Id: ezmlmrc.it,v 1.3 1999/12/22 04:02:15 lindberg Exp $ | |
4 | #$Name: ezmlm-idx-040 $ | |
5 | # | |
6 | # translation by Roberto De Carlo rodeca@tiscalinet.it | |
7 | # | |
8 | # ezmlmrc | |
9 | # ####### | |
10 | # Controls the actions of ezmlm-make as patched with ezmlm-idx-0.31 or later. | |
11 | # | |
12 | # The base directory 'DIR' is always created by ezmlm-make, as is DIR/key. | |
13 | # Everything else is done from here. | |
14 | # | |
15 | # ezmlm-make looks for this file, first as .ezmlmrc in the directory that the | |
16 | # lists .qmail files will be placed in (if you've used the -c command line | |
17 | # switch), then /etc/ezmlmrc, then ezmlmrc in the ezmlm-make binary directory. | |
18 | # Thus, you can customize ezmlm-make on a global level by placing a customized | |
19 | # copy of ezmlmrc in /etc and on a user level by copying it to .ezmlmrc in | |
20 | # the user's home directory AND use the ezmlm-make -c switch. | |
21 | # | |
22 | # Tags are: | |
23 | # </filename/> : put succeeding text lines in DIR/filename | |
24 | # </-filename/> : erase DIR/filename. | |
25 | # </+dirname/> : create directory DIR/dirname | |
26 | # </:lname/dirname> : symlink DIR/.qmail-list-lname -> DIR/dirname | |
27 | # | |
28 | # The name in the tag can be suffixed with '#' and any number of flags, | |
29 | # corresponding to command line switches. The item will be created/extended | |
30 | # only if all the flags listed are set. Files can be extended as long as they | |
31 | # were the last one created, but not if another file has been started since | |
32 | # then. Flags that are not recognized are silently ignored. | |
33 | # | |
34 | # Thus, </filename#aP/> creates the file if and only if the list is archived | |
35 | # (-a) and not public (-P). If the next tag is </filename#m/>, the file is | |
36 | # extended with the lines up to the next tag if the list is message moderated | |
37 | # (-m). If the next tag is </another/>, 'filename' is closed. Any further | |
38 | # tags leading to the reopenining of 'filename' will overwrite the file, not | |
39 | # extend it. | |
40 | # | |
41 | # A set of user-defined command line switches (xX, yY, zZ) are available for | |
42 | # customization. | |
43 | # | |
44 | # Within the text, certain tags are substituted. Other tags are copied as | |
45 | # is. <#A#> and <#R#> are substituted by ezmlm-manage and -store (see man pages) | |
46 | # and <#l#> (lower case L) is replaced dynamically by the list name for | |
47 | # programs handling both 'list' and 'list-digest'. | |
48 | # | |
49 | # Substitutions are: | |
50 | # <#B#> ezmlm binaries path <#C#> digest code <#D#> dir | |
51 | # <#H#> host <#L#> local <#F#> flags | |
52 | # <#T#> dot <#0#> arg for -0. <#3#>...<#9#> arg for -3..9 | |
53 | # <#1#> ext1 <#2#> ext2 [if dot is /path/.qmail-ext1-ext2-name] | |
54 | # The latter useful when a single user is controlling several virtual domains. | |
55 | # | |
56 | # -0 is used for the main list address when setting up sublists | |
57 | # -3 is for the new from header if we want that header replaced | |
58 | # -4 for specifying the ezmlm-tstdig switches used in dir/editor. Default | |
59 | # -k64 -m30 -t24. Only used if -g is used. | |
60 | # -5 for list-owner address. Mail to list-owner will be forwarded to this addr. | |
61 | # -6 for sql connection info | |
62 | # -7 for contents of DIR/modpost | |
63 | # -8 for contents of DIR/modsub | |
64 | # -9 for contents of DIR/remote | |
65 | # | |
66 | # For demonstration purposes, the '-x' switch results in the following | |
67 | # non-standard actions: | |
68 | # - Removal of many non-text MIME parts from messages. | |
69 | # - Limit posts to 2 bytes <= msg body size <= 40000 | |
70 | # | |
71 | # Attempts to create links or directories that already exist, will result | |
72 | # in a FATAL error. Attempts to open files that have already been closed | |
73 | # or already exits, will cause the old file to be overwritten. | |
74 | # | |
75 | # One of the major problems with ezmlm-lists is DIR/inlocal. For normal | |
76 | # users, it is set up to the list name (user-list or so), which is correct. | |
77 | # However, for user 'ezmlm' in control of virtual domain 'host.dom.com' | |
78 | # the list name is 'list@host.dom.com', but inlocal should be 'ezmlm-list', | |
79 | # not 'list'. Similarly, if ezmlm-domain1 is in control of 'host.dom.com, | |
80 | # list@host.dom.com, should yield an inlocal of 'ezmlm-domain1-list'. To | |
81 | # always get the lists correct, place this file as '.ezmlmrc' in the | |
82 | # users home directory (~ezmlm/.ezmlmrc) and change the inlocal text below | |
83 | # to 'ezmlm-<#L#>' or 'ezmlm-<#1#>-<#L#>, respectively. | |
84 | # config to support future editing without giving ezmlm-make command line | |
85 | # arguments other than dir. Useful for GUI/WWW editing tools | |
86 | </config/> | |
87 | F:<#F#> | |
88 | X:<#X#> | |
89 | D:<#D#> | |
90 | T:<#T#> | |
91 | L:<#L#> | |
92 | H:<#H#> | |
93 | C:<#C#> | |
94 | 0:<#0#> | |
95 | 3:<#3#> | |
96 | 4:<#4#> | |
97 | 5:<#5#> | |
98 | 6:<#6#> | |
99 | 7:<#7#> | |
100 | 8:<#8#> | |
101 | 9:<#9#> | |
102 | </inlocal/> | |
103 | <#L#> | |
104 | </sublist#0/> | |
105 | <#0#> | |
106 | </+archive/> | |
107 | </+subscribers/> | |
108 | </+bounce/> | |
109 | </+text/> | |
110 | # dirs for digests | |
111 | </+digest#d/> | |
112 | </+digest/subscribers#d/> | |
113 | </+digest/bounce#d/> | |
114 | # for extra address db | |
115 | </+allow/> | |
116 | </+allow/subscribers/> | |
117 | # for blacklist | |
118 | </+deny#k/> | |
119 | </+deny/subscribers#k/> | |
120 | # moderator db & mod queue dirs. Needed for -m, -r -s, so we just | |
121 | # make them by default. | |
122 | </+mod/> | |
123 | </+mod/subscribers/> | |
124 | </+mod/pending/> | |
125 | </+mod/accepted/> | |
126 | </+mod/rejected/> | |
127 | # links: dot -> dir/editor | |
128 | </:/editor/> | |
129 | </:-owner/owner/> | |
130 | </:-digest-owner/owner#d/> | |
131 | </:-return-default/bouncer/> | |
132 | </:-digest-return-default/digest/bouncer#d/> | |
133 | </:-default/manager/> | |
134 | # for message moderation only | |
135 | </:-accept-default/moderator#m/> | |
136 | </:-reject-default/moderator#m/> | |
137 | # Get rid of configuration flags for editing mode so we can start with a | |
138 | # clean slate. | |
139 | </-modpost#eM/> | |
140 | </-modsub#eS/> | |
141 | </-remote#eR/> | |
142 | </-public#eP/> | |
143 | </-indexed#eA/> | |
144 | </-archived#eA/> | |
145 | </-prefix#eF/> | |
146 | </-text/trailer#eT/> | |
147 | </-sublist#e^0/> | |
148 | </-mimeremove#eX/> | |
149 | # Not needed, except for message moderation. | |
150 | </-moderator#eM/> | |
151 | # We don't clean out text files to make it easier for users | |
152 | # doing manual config by e.g. touching dir/remote. | |
153 | # subscription moderation | |
154 | </modsub#s/> | |
155 | <#8#> | |
156 | # remote admin | |
157 | </remote#r/> | |
158 | <#9#> | |
159 | # message moderation | |
160 | </modpost#m/> | |
161 | <#7#> | |
162 | # List owner mail | |
163 | </owner#5/> | |
164 | <#5#> | |
165 | </owner#^5/> | |
166 | <#D#>/Mailbox | |
167 | </#W/> | |
168 | |<#B#>/ezmlm-warn '<#D#>' || exit 0 | |
169 | # Handles subscription. Add flags if you want a non-default digest format. | |
170 | # Service subject commands to the # request address if the -q switch is given. | |
171 | # Also -l and -d enable subscriber listing/text file editing, for remote adms. | |
172 | # -u gives subscriber only archive access | |
173 | </manager#ab/> | |
174 | |<#B#>/ezmlm-get -P '<#D#>' <#C#> | |
175 | </manager#aGB/> | |
176 | |<#B#>/ezmlm-get '<#D#>' <#C#> | |
177 | </manager#agB/> | |
178 | |<#B#>/ezmlm-get -s '<#D#>' <#C#> | |
179 | </manager#q/> | |
180 | |<#B#>/ezmlm-request '<#D#>' | |
181 | # Ok to add -l/-d even for non-mod lists, since ezmlm-manage | |
182 | # won't allow it unless there are remote admins. The lack of logic other than | |
183 | # AND makes this very tedious ... | |
184 | # first lists with normal confirmation: | |
185 | </manager#LNHJ/> | |
186 | |<#B#>/ezmlm-manage '<#D#>' | |
187 | </manager#lNHJ/> | |
188 | |<#B#>/ezmlm-manage -l '<#D#>' | |
189 | </manager#LnHJ/> | |
190 | |<#B#>/ezmlm-manage -e '<#D#>' | |
191 | </manager#lnHJ/> | |
192 | |<#B#>/ezmlm-manage -le '<#D#>' | |
193 | # ... now no confirmation for subscribe ... | |
194 | </manager#LNhJ/> | |
195 | |<#B#>/ezmlm-manage -S '<#D#>' | |
196 | </manager#lNhJ/> | |
197 | |<#B#>/ezmlm-manage -lS '<#D#>' | |
198 | </manager#LnhJ/> | |
199 | |<#B#>/ezmlm-manage -eS '<#D#>' | |
200 | </manager#lnhJ/> | |
201 | |<#B#>/ezmlm-manage -leS '<#D#>' | |
202 | # ... now no confirmation for unsubscribe ... | |
203 | </manager#LNHj/> | |
204 | |<#B#>/ezmlm-manage -U '<#D#>' | |
205 | </manager#lNHj/> | |
206 | |<#B#>/ezmlm-manage -lU '<#D#>' | |
207 | </manager#LnHj/> | |
208 | |<#B#>/ezmlm-manage -eU '<#D#>' | |
209 | </manager#lnHj/> | |
210 | |<#B#>/ezmlm-manage -leU '<#D#>' | |
211 | # ... and finally no confirmation at all ... | |
212 | </manager#LNhj/> | |
213 | |<#B#>/ezmlm-manage -US '<#D#>' | |
214 | </manager#lNhj/> | |
215 | |<#B#>/ezmlm-manage -lUS '<#D#>' | |
216 | </manager#Lnhj/> | |
217 | |<#B#>/ezmlm-manage -eUS '<#D#>' | |
218 | </manager#lnhj/> | |
219 | |<#B#>/ezmlm-manage -leUS '<#D#>' | |
220 | </manager#W/> | |
221 | |<#B#>/ezmlm-warn '<#D#>' || exit 0 | |
222 | </#dW/> | |
223 | |<#B#>/ezmlm-warn -d '<#D#>' || exit 0 | |
224 | </editor/> | |
225 | # reject shouldn't be configured for sublist. | |
226 | </#^0/> | |
227 | # full reject is now default, to get To/Cc: listaddress requirement | |
228 | |<#B#>/ezmlm-reject '<#D#>' | |
229 | # -k => reject posts from blacklisted addresses. Done for moderated | |
230 | # lists as well - allows removal of unwanted noise. | |
231 | </#k^0/> | |
232 | |<#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 ; } | |
233 | # switch -u=> restrict to subs of list & digest. If not m | |
234 | # do it with ezmlm-issubn, if 'm' do it with ezmlm-gate | |
235 | </#uM/> | |
236 | |<#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 ; } | |
237 | </#um/> | |
238 | |<#B#>/ezmlm-gate '<#D#>' '<#D#>' '<#D#>/digest' '<#D#>/allow' '<#D#>/mod' | |
239 | # For message moderation, editor has store/clean | |
240 | </#mUO/> | |
241 | |<#B#>/ezmlm-store '<#D#>' | |
242 | </#mUo/> | |
243 | |<#B#>/ezmlm-store -P '<#D#>' | |
244 | </#mU/> | |
245 | |<#B#>/ezmlm-clean '<#D#>' || exit 0 | |
246 | </#mu/> | |
247 | |<#B#>/ezmlm-clean -R '<#D#>' || exit 0 | |
248 | # for non-message moderated lists, it has send | |
249 | </#M/> | |
250 | |<#B#>/ezmlm-send '<#D#>' | |
251 | # ezmlm-archive here for normal lists. Put into moderator for mess-mod lists | |
252 | </#Mi/> | |
253 | |<#B#>/ezmlm-archive '<#D#>' || exit 0 | |
254 | # all lists have warn unless -w. | |
255 | </#W/> | |
256 | |<#B#>/ezmlm-warn '<#D#>' || exit 0 | |
257 | # for digest bounces | |
258 | </#dW/> | |
259 | |<#B#>/ezmlm-warn -d '<#D#>' || exit 0 | |
260 | </#d^4/> | |
261 | |<#B#>/ezmlm-tstdig -m30 -k64 -t48 '<#D#>' || exit 99 | |
262 | </#d4/> | |
263 | |<#B#>/ezmlm-tstdig <#4#> '<#D#>' || exit 99 | |
264 | </#d/> | |
265 | |<#B#>/ezmlm-get '<#D#>' || exit 0 | |
266 | # bouncer for list and digest | |
267 | </bouncer/> | |
268 | |<#B#>/ezmlm-weed | |
269 | |<#B#>/ezmlm-return -D '<#D#>' | |
270 | </digest/bouncer#d/> | |
271 | |<#B#>/ezmlm-weed | |
272 | |<#B#>/ezmlm-return -d '<#D#>' | |
273 | # moderator is set up only for message moderated lists. However, '-e' does | |
274 | # not remove it since we can't remove the symlinks to it (they're outside | |
275 | # of the list dir. | |
276 | </moderator#m/> | |
277 | |<#B#>/ezmlm-moderate '<#D#>' | |
278 | </#mi/> | |
279 | |<#B#>/ezmlm-archive '<#D#>' || exit 0 | |
280 | </#mU/> | |
281 | |<#B#>/ezmlm-clean '<#D#>' || exit 0 | |
282 | </#mu/> | |
283 | |<#B#>/ezmlm-clean -R '<#D#>' || exit 0 | |
284 | </headerremove#E/> | |
285 | return-path | |
286 | return-receipt-to | |
287 | content-length | |
288 | precedence | |
25a55efe | 289 | disposition-notification-to |
f8beb284 MW |
290 | x-confirm-reading-to |
291 | x-pmrqc | |
292 | list-subscribe | |
293 | list-unsubscribe | |
294 | list-help | |
295 | </headerremove#E^0/> | |
296 | # For sublists, these should be left in | |
297 | list-post | |
298 | # remove from header if -3 'new_from_line' | |
299 | </#3E/> | |
300 | from | |
301 | </lock/> | |
302 | </lockbounce/> | |
303 | </digest/lockbounce#d/> | |
304 | </digest/lock#d/> | |
305 | </public#p/> | |
306 | </archived#a/> | |
307 | </indexed#a/> | |
308 | </inhost/> | |
309 | <#H#> | |
310 | </outhost/> | |
311 | <#H#> | |
312 | </outlocal/> | |
313 | <#L#> | |
314 | </mailinglist/> | |
315 | contact <#L#>-help@<#H#>; run by ezmlm | |
316 | # Headeradd needs to always exist but leave out stuff for sublists | |
317 | </headeradd#E^0/> | |
318 | # Good for mailing list stuff (and vacation program) | |
319 | Precedence: bulk | |
320 | # To prevent indexing by findmail.com | |
321 | X-No-Archive: yes | |
322 | # rfc2369, first from main list only, others from sublist only | |
323 | List-Post: <mailto:<#L#>@<#H#>> | |
324 | </headeradd#E/> | |
325 | List-Help: <mailto:<#l#>-help@<#h#>> | |
326 | List-Unsubscribe: <mailto:<#l#>-unsubscribe@<#h#>> | |
327 | List-Subscribe: <mailto:<#l#>-subscribe@<#h#>> | |
328 | # add new from line "From: arg" if -3 'arg' | |
329 | </#3E/> | |
330 | From: <#3#> | |
331 | # max & min message size | |
332 | </msgsize#x/> | |
333 | 30000:2 | |
334 | # remove mime parts if -x | |
335 | </mimeremove#xE/> | |
336 | application/excel | |
337 | application/rtf | |
338 | application/msword | |
339 | application/ms-tnef | |
340 | text/html | |
341 | text/rtf | |
342 | text/enriched | |
343 | text/x-vcard | |
344 | application/activemessage | |
345 | application/andrew-inset | |
346 | application/applefile | |
347 | application/atomicmail | |
348 | application/dca-rft | |
349 | application/dec-dx | |
350 | application/mac-binhex40 | |
351 | application/mac-compactpro | |
352 | application/macwriteii | |
353 | application/news-message-id | |
354 | application/news-transmission | |
355 | application/octet-stream | |
356 | application/oda | |
357 | application/pdf | |
358 | application/postscript | |
359 | application/powerpoint | |
360 | application/remote-printing | |
361 | application/slate | |
362 | application/wita | |
363 | application/wordperfect5.1 | |
364 | application/x-bcpio | |
365 | application/x-cdlink | |
366 | application/x-compress | |
367 | application/x-cpio | |
368 | application/x-csh | |
369 | application/x-director | |
370 | application/x-dvi | |
371 | application/x-hdf | |
372 | application/x-httpd-cgi | |
373 | application/x-koan | |
374 | application/x-latex | |
375 | application/x-mif | |
376 | application/x-netcdf | |
377 | application/x-stuffit | |
378 | application/x-sv4cpio | |
379 | application/x-sv4crc | |
380 | application/x-tar | |
381 | application/x-tcl | |
382 | application/x-tex | |
383 | application/x-texinfo | |
384 | application/x-troff | |
385 | application/x-troff-man | |
386 | application/x-troff-me | |
387 | application/x-troff-ms | |
388 | application/x-ustar | |
389 | application/x-wais-source | |
390 | audio/basic | |
391 | audio/mpeg | |
392 | audio/x-aiff | |
393 | audio/x-pn-realaudio | |
394 | audio/x-pn-realaudio | |
395 | audio/x-pn-realaudio-plugin | |
396 | audio/x-realaudio | |
397 | audio/x-wav | |
398 | image/gif | |
399 | image/ief | |
400 | image/jpeg | |
401 | image/png | |
402 | image/tiff | |
403 | image/x-cmu-raster | |
404 | image/x-portable-anymap | |
405 | image/x-portable-bitmap | |
406 | image/x-portable-graymap | |
407 | image/x-portable-pixmap | |
408 | image/x-rgb | |
409 | image/x-xbitmap | |
410 | image/x-xpixmap | |
411 | image/x-xwindowdump | |
412 | text/x-sgml | |
413 | video/mpeg | |
414 | video/quicktime | |
415 | video/x-msvideo | |
416 | video/x-sgi-movie | |
417 | x-conference/x-cooltalk | |
418 | x-world/x-vrml | |
419 | # These can also be excluded, but for many lists it is desirable | |
420 | # to allow them. Uncomment to add to mimeremove. | |
421 | # application/zip | |
422 | # application/x-gtar | |
423 | # application/x-gzip | |
424 | # application/x-sh | |
425 | # application/x-shar | |
426 | # chemical/x-pdb | |
427 | # --------------------- Handle SQL connect info | |
428 | </-sql#^6e/> | |
429 | </-digest/sql#^6e/> | |
430 | </-allow/sql#^6e/> | |
431 | </sql#6W/> | |
432 | <#6#> | |
433 | </sql#6w/> | |
434 | <#6#>:<#L#>@<#H#> | |
435 | </digest/sql#6dW/> | |
436 | <#6#>_digest | |
437 | </digest/sql#6dw/> | |
438 | <#6#>_digest:<#L#>_digest@<#H#> | |
439 | </allow/sql#6/> | |
440 | <#6#>_allow | |
441 | # -------------------- End sql stuff | |
442 | </prefix#fE/> | |
443 | [<#L#>] | |
444 | </text/trailer#tE/> | |
445 | --------------------------------------------------------------------- | |
446 | Per cancellarsi, scrivi a: <#L#>-unsubscribe@<#H#> | |
447 | Se vuoi conoscere altri comandi, scrivi a: <#L#>-help@<#H#> | |
448 | </text/bottom/> | |
449 | ||
450 | --- Comandi di gestione per la mailing list <#l#> --- | |
451 | ||
452 | Posso elaborare comandi di gestione autonomamente. Per | |
453 | favore non inviarli direttamente all'indirizzo della lista! | |
454 | Invece spedisci il tuo messaggio al giusto indirizzo per i comandi: | |
455 | ||
456 | Per ricevere aiuto e una descrizione dei comandi, scrivi a: | |
457 | <<#L#>-help@<#H#>> | |
458 | ||
459 | Per iscriversi alla lista, spedisci un messaggio a: | |
460 | <<#L#>-subscribe@<#H#>> | |
461 | ||
462 | Per cancellare il tuo indirizzo dalla lista, ti basta scrivere | |
463 | all'indirizzo presente nell'intestazione ``List-Unsubscribe'' di | |
464 | qualsiasi messaggio della lista. Se non hai cambiato indirizzo da | |
465 | quando ti sei iscritto, puoi anche mandare un messaggio a: | |
466 | <<#L#>-unsubscribe@<#H#>> | |
467 | ||
468 | </#dE/> | |
469 | o per le raccolte a: | |
470 | <<#L#>-unsubscribe@<#H#>> | |
471 | ||
472 | </#E/> | |
473 | ||
474 | Content-type: text/html