| 1 | 0.324 - This version identifier must be on line 1 and start in pos 1. |
| 2 | # |
| 3 | #$Id: ezmlmrc.ru,v 1.4 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/> |
| 84 | F:<#F#> |
| 85 | D:<#D#> |
| 86 | T:<#T#> |
| 87 | L:<#L#> |
| 88 | H:<#H#> |
| 89 | C:<#C#> |
| 90 | 0:<#0#> |
| 91 | 3:<#3#> |
| 92 | 4:<#4#> |
| 93 | 5:<#5#> |
| 94 | 6:<#6#> |
| 95 | 7:<#7#> |
| 96 | 8:<#8#> |
| 97 | 9:<#9#> |
| 98 | </charset/> |
| 99 | # Charset file is a must for russian mailing lists |
| 100 | koi8-r |
| 101 | </inlocal/> |
| 102 | <#L#> |
| 103 | </sublist#0/> |
| 104 | <#0#> |
| 105 | </+archive/> |
| 106 | </+subscribers/> |
| 107 | </+bounce/> |
| 108 | </+text/> |
| 109 | # dirs for digests |
| 110 | </+digest#d/> |
| 111 | </+digest/subscribers#d/> |
| 112 | </+digest/bounce#d/> |
| 113 | # for extra address db |
| 114 | </+allow/> |
| 115 | </+allow/subscribers/> |
| 116 | # for blacklist |
| 117 | </+deny#k/> |
| 118 | </+deny/subscribers#k/> |
| 119 | # moderator db & mod queue dirs. Needed for -m, -r -s, so we just |
| 120 | # make them by default. |
| 121 | </+mod/> |
| 122 | </+mod/subscribers/> |
| 123 | </+mod/pending/> |
| 124 | </+mod/accepted/> |
| 125 | </+mod/rejected/> |
| 126 | # links: dot -> dir/editor |
| 127 | </:/editor/> |
| 128 | </:-owner/owner/> |
| 129 | </:-digest-owner/owner#d/> |
| 130 | </:-return-default/bouncer/> |
| 131 | </:-digest-return-default/digest/bouncer#d/> |
| 132 | </:-default/manager/> |
| 133 | # for message moderation only |
| 134 | </:-accept-default/moderator#m/> |
| 135 | </:-reject-default/moderator#m/> |
| 136 | # Get rid of configuration flags for editing mode so we can start with a |
| 137 | # clean slate. |
| 138 | </-modpost#eM/> |
| 139 | </-modsub#eS/> |
| 140 | </-remote#eR/> |
| 141 | </-public#eP/> |
| 142 | </-indexed#eI/> |
| 143 | </-archived#eA/> |
| 144 | </-prefix#eF/> |
| 145 | </-text/trailer#eT/> |
| 146 | </-sublist#e^0/> |
| 147 | </-mimeremove#eX/> |
| 148 | # Not needed, except for message moderation. |
| 149 | </-moderator#eM/> |
| 150 | # We don't clean out text files to make it easier for users |
| 151 | # doing manual config by e.g. touching dir/remote. |
| 152 | # subscription moderation |
| 153 | </modsub#s/> |
| 154 | <#8#> |
| 155 | # remote admin |
| 156 | </remote#r/> |
| 157 | <#9#> |
| 158 | # message moderation |
| 159 | </modpost#m/> |
| 160 | <#7#> |
| 161 | # List owner mail |
| 162 | </owner#5/> |
| 163 | <#5#> |
| 164 | </owner#^5/> |
| 165 | <#D#>/Mailbox |
| 166 | </#W/> |
| 167 | |<#B#>/ezmlm-warn '<#D#>' || exit 0 |
| 168 | # Handles subscription. Add flags if you want a non-default digest format. |
| 169 | # Service subject commands to the # request address if the -q switch is given. |
| 170 | # Also -l and -d enable subscriber listing/text file editing, for remote adms. |
| 171 | # -u gives subscriber only archive access |
| 172 | </manager#iG/> |
| 173 | |<#B#>/ezmlm-get '<#D#>' <#C#> |
| 174 | </manager#ig/> |
| 175 | |<#B#>/ezmlm-get -s '<#D#>' <#C#> |
| 176 | </manager#q/> |
| 177 | |<#B#>/ezmlm-request '<#D#>' |
| 178 | # Ok to add -l/-d even for non-mod lists, since ezmlm-manage |
| 179 | # won't allow it unless there are remote admins. |
| 180 | </manager#LN/> |
| 181 | |<#B#>/ezmlm-manage '<#D#>' |
| 182 | </manager#lN/> |
| 183 | |<#B#>/ezmlm-manage -l '<#D#>' |
| 184 | </manager#Ln/> |
| 185 | |<#B#>/ezmlm-manage -e '<#D#>' |
| 186 | </manager#ln/> |
| 187 | |<#B#>/ezmlm-manage -le '<#D#>' |
| 188 | </manager#W/> |
| 189 | |<#B#>/ezmlm-warn '<#D#>' || exit 0 |
| 190 | </#dW/> |
| 191 | |<#B#>/ezmlm-warn -d '<#D#>' || exit 0 |
| 192 | </editor/> |
| 193 | # reject shouldn't be configured for sublist. |
| 194 | </#^0/> |
| 195 | # full reject is now default, to get To/Cc: listaddress requirement |
| 196 | |<#B#>/ezmlm-reject '<#D#>' |
| 197 | # -k => reject posts from blacklisted addresses. Done for moderated |
| 198 | # lists as well - allows removal of unwanted noise. |
| 199 | </#k^0/> |
| 200 | |<#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 ; } |
| 201 | # switch -u=> restrict to subs of list & digest. If not m |
| 202 | # do it with ezmlm-issubn, if 'm' do it with ezmlm-gate |
| 203 | </#uM/> |
| 204 | |<#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 ; } |
| 205 | </#um/> |
| 206 | |<#B#>/ezmlm-gate '<#D#>' '<#D#>' '<#D#>/digest' '<#D#>/allow' '<#D#>/mod' |
| 207 | # For message moderation, editor has store/clean |
| 208 | </#mU/> |
| 209 | |<#B#>/ezmlm-store '<#D#>' |
| 210 | |<#B#>/ezmlm-clean '<#D#>' || exit 0 |
| 211 | </#mu/> |
| 212 | |<#B#>/ezmlm-clean -R '<#D#>' || exit 0 |
| 213 | # for non-message moderated lists, it has send |
| 214 | </#M/> |
| 215 | |<#B#>/ezmlm-send '<#D#>' |
| 216 | # all lists have warn unless -w. |
| 217 | </#W/> |
| 218 | |<#B#>/ezmlm-warn '<#D#>' || exit 0 |
| 219 | # for digest bounces |
| 220 | </#dW/> |
| 221 | |<#B#>/ezmlm-warn -d '<#D#>' || exit 0 |
| 222 | </#d^4/> |
| 223 | |<#B#>/ezmlm-tstdig -m30 -k64 -t48 '<#D#>' || exit 99 |
| 224 | </#d4/> |
| 225 | |<#B#>/ezmlm-tstdig <#4#> '<#D#>' || exit 99 |
| 226 | </#d/> |
| 227 | |<#B#>/ezmlm-get '<#D#>' || exit 0 |
| 228 | # bouncer is complicated. We use ezmlm-receipt if -6 AND -w, but ezmlm-return |
| 229 | # if (-6 and -W) OR (not -6 and -w). Since there is no or, we need 2 lines. |
| 230 | </bouncer/> |
| 231 | |<#B#>/ezmlm-weed |
| 232 | </#^6/> |
| 233 | |<#B#>/ezmlm-return -D '<#D#>' |
| 234 | </#6W/> |
| 235 | |<#B#>/ezmlm-return -D '<#D#>' |
| 236 | </#6w/> |
| 237 | |<#B#>/ezmlm-receipt -D '<#D#>' |
| 238 | </digest/bouncer#d/> |
| 239 | |<#B#>/ezmlm-weed |
| 240 | </#^6d/> |
| 241 | |<#B#>/ezmlm-return -d '<#D#>' |
| 242 | </#6Wd/> |
| 243 | |<#B#>/ezmlm-return -d '<#D#>' |
| 244 | </#6wd/> |
| 245 | |<#B#>/ezmlm-receipt -d '<#D#>' |
| 246 | # moderator is set up only for message moderated lists. However, '-e' does |
| 247 | # not remove it since we can't remove the symlinks to it (they're outside |
| 248 | # of the list dir. |
| 249 | </moderator#m/> |
| 250 | |<#B#>/ezmlm-moderate '<#D#>' |
| 251 | </#mU/> |
| 252 | |<#B#>/ezmlm-clean '<#D#>' || exit 0 |
| 253 | </#mu/> |
| 254 | |<#B#>/ezmlm-clean -R '<#D#>' || exit 0 |
| 255 | </headerremove#E/> |
| 256 | return-path |
| 257 | return-receipt-to |
| 258 | content-length |
| 259 | precedence |
| 260 | disposition-notification-to |
| 261 | x-confirm-reading-to |
| 262 | x-pmrqc |
| 263 | # Only one allowed |
| 264 | list-help |
| 265 | list-unsubscribe |
| 266 | list-post |
| 267 | </lock/> |
| 268 | </lockbounce/> |
| 269 | </digest/lockbounce#d/> |
| 270 | </digest/lock#d/> |
| 271 | </public#p/> |
| 272 | </archived#a/> |
| 273 | </indexed#i/> |
| 274 | </inhost/> |
| 275 | <#H#> |
| 276 | </outhost/> |
| 277 | <#H#> |
| 278 | </outlocal/> |
| 279 | <#L#> |
| 280 | </mailinglist/> |
| 281 | contact <#L#>-help@<#H#>; run by ezmlm |
| 282 | # Headeradd needs to always exist |
| 283 | </headeradd#E/> |
| 284 | # Good for mailing list stuff (and vacation program) |
| 285 | Precedence: bulk |
| 286 | # To prevent indexing by findmail.com |
| 287 | X-No-Archive: yes |
| 288 | # rfc2369 |
| 289 | List-Help: <mailto:<#l#>-help@<#h#>> |
| 290 | List-Unsubscribe: <mailto:<#l#>-unsubscribe@<#h#>> |
| 291 | List-Subscribe: <mailto:<#l#>-subscribe@<#h#>> |
| 292 | List-Post: <mailto:<#L#>@<#H#>> |
| 293 | X-Comment: <#l#> mailing list (Russian, KOI8-R) |
| 294 | # max & min message size |
| 295 | </msgsize#x/> |
| 296 | 40000:2 |
| 297 | # remove mime parts if -x |
| 298 | </mimeremove#x/> |
| 299 | application/excel |
| 300 | application/rtf |
| 301 | application/msword |
| 302 | application/ms-tnef |
| 303 | text/html |
| 304 | text/rtf |
| 305 | text/enriched |
| 306 | text/x-vcard |
| 307 | application/activemessage |
| 308 | application/andrew-inset |
| 309 | application/applefile |
| 310 | application/atomicmail |
| 311 | application/dca-rft |
| 312 | application/dec-dx |
| 313 | application/mac-binhex40 |
| 314 | application/mac-compactpro |
| 315 | application/macwriteii |
| 316 | application/news-message-id |
| 317 | application/news-transmission |
| 318 | application/octet-stream |
| 319 | application/oda |
| 320 | application/pdf |
| 321 | application/postscript |
| 322 | application/powerpoint |
| 323 | application/remote-printing |
| 324 | application/slate |
| 325 | application/wita |
| 326 | application/wordperfect5.1 |
| 327 | application/x-bcpio |
| 328 | application/x-cdlink |
| 329 | application/x-compress |
| 330 | application/x-cpio |
| 331 | application/x-csh |
| 332 | application/x-director |
| 333 | application/x-dvi |
| 334 | application/x-hdf |
| 335 | application/x-httpd-cgi |
| 336 | application/x-koan |
| 337 | application/x-latex |
| 338 | application/x-mif |
| 339 | application/x-netcdf |
| 340 | application/x-stuffit |
| 341 | application/x-sv4cpio |
| 342 | application/x-sv4crc |
| 343 | application/x-tar |
| 344 | application/x-tcl |
| 345 | application/x-tex |
| 346 | application/x-texinfo |
| 347 | application/x-troff |
| 348 | application/x-troff-man |
| 349 | application/x-troff-me |
| 350 | application/x-troff-ms |
| 351 | application/x-ustar |
| 352 | application/x-wais-source |
| 353 | audio/basic |
| 354 | audio/mpeg |
| 355 | audio/x-aiff |
| 356 | audio/x-pn-realaudio |
| 357 | audio/x-pn-realaudio |
| 358 | audio/x-pn-realaudio-plugin |
| 359 | audio/x-realaudio |
| 360 | audio/x-wav |
| 361 | image/gif |
| 362 | image/ief |
| 363 | image/jpeg |
| 364 | image/png |
| 365 | image/tiff |
| 366 | image/x-cmu-raster |
| 367 | image/x-portable-anymap |
| 368 | image/x-portable-bitmap |
| 369 | image/x-portable-graymap |
| 370 | image/x-portable-pixmap |
| 371 | image/x-rgb |
| 372 | image/x-xbitmap |
| 373 | image/x-xpixmap |
| 374 | image/x-xwindowdump |
| 375 | text/x-sgml |
| 376 | video/mpeg |
| 377 | video/quicktime |
| 378 | video/x-msvideo |
| 379 | video/x-sgi-movie |
| 380 | x-conference/x-cooltalk |
| 381 | x-world/x-vrml |
| 382 | # These can also be excluded, but for many lists it is desirable |
| 383 | # to allow them. Uncomment to add to mimeremove. |
| 384 | # application/zip |
| 385 | # application/x-gtar |
| 386 | # application/x-gzip |
| 387 | # application/x-sh |
| 388 | # application/x-shar |
| 389 | # chemical/x-pdb |
| 390 | # --------------------- Handle SQL connect info |
| 391 | </-sql#^6e/> |
| 392 | </-digest/sql#^6e/> |
| 393 | </-allow/sql#^6e/> |
| 394 | </sql#6W/> |
| 395 | <#6#> |
| 396 | </sql#6w/> |
| 397 | <#6#>:<#L#>@<#H#> |
| 398 | </digest/sql#6dW/> |
| 399 | <#6#>_digest |
| 400 | </digest/sql#6dw/> |
| 401 | <#6#>_digest:<#L#>_digest@<#H#> |
| 402 | </allow/sql#6/> |
| 403 | <#6#>_allow |
| 404 | # -------------------- End sql stuff |
| 405 | </prefix#f/> |
| 406 | [<#L#>] |
| 407 | </text/trailer#t/> |
| 408 | -- |
| 409 | To unsubscribe, e-mail: <#L#>-unsubscribe@<#H#> |
| 410 | For additional commands, e-mail: <#L#>-help@<#H#> |
| 411 | </text/bottom/> |
| 412 | |
| 413 |