]> git.deb.at Git - debienna.git/blob - RerunMailman/index.mdwn
use unix newlines everywhere
[debienna.git] / RerunMailman / index.mdwn
1 ## Please edit system and help pages ONLY in the moinmaster wiki! For more
2 ## information, please see MoinMaster:MoinPagesEditorGroup.
3 ##master-page:
4 ##master-date:
5 ##acl MoinPagesEditorGroup:read,write,delete,revert All:read
6 #format wiki
7 #language de
8
9
10 == Exim Konfiguration: ==
11
12 === Main ===
13
14 {{{
15 cat /etc/exim4/conf.d/main/04_exim4-config_mailman
16
17   # Home dir for your Mailman installation -- aka Mailman's prefix
18   # directory.
19   # By default this is set to "/usr/local/mailman"
20   # On a Red Hat/Fedora system using the RPM use "/var/mailman"
21   # On Debian using the deb package use "/var/lib/mailman"
22   # This is normally the same as ~mailman
23   MM_HOME=/var/lib/mailman
24   #
25   # User and group for Mailman, should match your --with-mail-gid
26   # switch to Mailman's configure script.
27   # Value is normally "mailman"
28   MM_UID=list
29   MM_GID=list
30   #
31   # Domains that your lists are in - colon separated list
32   # you may wish to add these into local_domains as well
33   domainlist mm_domains=rerun.lefant.net:debienna.at:dsearch;/etc/exim4/virtual
34   #
35   # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
36   #
37   # These values are derived from the ones above and should not need
38   # editing unless you have munged your mailman installation
39   #
40   # The path of the Mailman mail wrapper script
41   MM_WRAP=MM_HOME/mail/mailman
42   #
43   # The path of the list config file (used as a required file when
44   # verifying list addresses)
45   MM_LISTCHK=MM_HOME/lists/${lc::$local_part}/config.pck
46
47 }}}
48
49 === Router ===
50
51 {{{
52 cat /etc/exim4/conf.d/router/185_exim4-config_mailman
53 # This router handles mailman
54 #
55   mailman_router:
56     driver = accept
57     domains = +mm_domains
58     require_files = MM_LISTCHK
59     local_part_suffix_optional
60     local_part_suffix = -admin : -bounces : -bounces+* : -confirm : -confirm+* : -join : -leave : -owner : -request : -subscribe : -unsubscribe
61     transport = mailman_transport
62 }}}
63
64 === Transport ===
65
66 {{{
67 cat /etc/exim4/conf.d/transport/35_exim4-config_mailman
68   mailman_transport:
69     driver = pipe
70     command = MM_WRAP \
71               '${if def:local_part_suffix \
72                     {${sg{$local_part_suffix}{-(\\w+)(\\+.*)?}{\$1}} } \
73                     {post}}' \
74               $local_part
75     current_directory = MM_HOME
76     home_directory = MM_HOME
77     user = MM_UID
78     group = MM_GID
79 }}}
80
81 * siehe auch: RerunLefantNet
82 ----
83 CategoryTipsAndTricks CategoryCodeSnippets