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