FreeBSD: better support for TFO
[users/jgh/exim.git] / configs / config.samples / C042
1 From: Kirill Miazine <lists@km.krot.org>
2 Date: Tue, 2 Apr 2002 19:41:24 +0200
3
4 Hello,
5
6 Since Exim 4 configuration needed to get Mailman work differs a little
7 bit from Exim 3 and since I still haven't seen a "recipe" for Mailman
8 with Exim 4, I'm providing my configuration (based heavily on
9 http://www.exim.org/howto/mailman.html).
10
11 Following goes into main config settings:
12
13 domainlist lists_domains = lists.krot.org
14 MAILMAN_HOME=/local/lists
15 MAILMAN_WRAP=MAILMAN_HOME/mail/wrapper
16 MAILMAN_UID=mailman
17 MAILMAN_GID=exim
18
19
20 Following routers are defined:
21
22 list_owner:
23     driver = redirect
24     domains = +lists_domains
25     require_files = MAILMAN_HOME/lists/$local_part/config.db
26     local_part_suffix = -owner
27     data = ${lc:$local_part}-admin@$domain
28
29 owner_list:
30     driver = redirect
31     domains = +lists_domains
32     require_files = MAILMAN_HOME/lists/$local_part/config.db
33     local_part_prefix = owner-
34     data = ${lc:$local_part}-admin@$domain
35
36 list_admin:
37     driver = accept
38     domains = +lists_domains
39     require_files = MAILMAN_HOME/lists/$local_part/config.db
40     local_part_suffix = -admin
41     transport = list_admin
42
43 list_request:
44     driver = accept
45     domains = +lists_domains
46     require_files = MAILMAN_HOME/lists/$local_part/config.db
47     local_part_suffix = -request
48     transport = list_request
49
50 list:
51     driver = accept
52     domains = +lists_domains
53     require_files = MAILMAN_HOME/lists/$local_part/config.db
54     transport = list
55
56
57 And these transports are needed:
58
59 list_admin:
60     driver = pipe
61     command = MAILMAN_WRAP mailowner ${lc:$local_part}
62     current_directory = MAILMAN_HOME
63     home_directory = MAILMAN_HOME
64     user = MAILMAN_UID
65     group = MAILMAN_GID
66
67 list_request:
68     driver = pipe
69     command = MAILMAN_WRAP mailcmd ${lc:$local_part}
70     current_directory = MAILMAN_HOME
71     home_directory = MAILMAN_HOME
72     user = MAILMAN_UID
73     group = MAILMAN_GID
74
75 list:
76     driver = pipe
77     command = MAILMAN_WRAP post ${lc:$local_part}
78     current_directory = MAILMAN_HOME
79     home_directory = MAILMAN_HOME
80     user = MAILMAN_UID
81     group = MAILMAN_GID
82
83 Mailman was configured --with-mail-gid=exim.