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