summaryrefslogtreecommitdiff
path: root/configs/config.samples/C042
blob: a927cd8d2bafda38ce751eb3081e7540b77feba6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
From: Kirill Miazine <lists@km.krot.org>
Date: Tue, 2 Apr 2002 19:41:24 +0200

Hello,

Since Exim 4 configuration needed to get Mailman work differs a little
bit from Exim 3 and since I still haven't seen a "recipe" for Mailman
with Exim 4, I'm providing my configuration (based heavily on
http://www.exim.org/howto/mailman.html).

Following goes into main config settings:

domainlist lists_domains = lists.krot.org
MAILMAN_HOME=/local/lists
MAILMAN_WRAP=MAILMAN_HOME/mail/wrapper
MAILMAN_UID=mailman
MAILMAN_GID=exim


Following routers are defined:

list_owner:
    driver = redirect
    domains = +lists_domains
    require_files = MAILMAN_HOME/lists/$local_part/config.db
    local_part_suffix = -owner
    data = ${lc:$local_part}-admin@$domain

owner_list:
    driver = redirect
    domains = +lists_domains
    require_files = MAILMAN_HOME/lists/$local_part/config.db
    local_part_prefix = owner-
    data = ${lc:$local_part}-admin@$domain

list_admin:
    driver = accept
    domains = +lists_domains
    require_files = MAILMAN_HOME/lists/$local_part/config.db
    local_part_suffix = -admin
    transport = list_admin

list_request:
    driver = accept
    domains = +lists_domains
    require_files = MAILMAN_HOME/lists/$local_part/config.db
    local_part_suffix = -request
    transport = list_request

list:
    driver = accept
    domains = +lists_domains
    require_files = MAILMAN_HOME/lists/$local_part/config.db
    transport = list


And these transports are needed:

list_admin:
    driver = pipe
    command = MAILMAN_WRAP mailowner ${lc:$local_part}
    current_directory = MAILMAN_HOME
    home_directory = MAILMAN_HOME
    user = MAILMAN_UID
    group = MAILMAN_GID

list_request:
    driver = pipe
    command = MAILMAN_WRAP mailcmd ${lc:$local_part}
    current_directory = MAILMAN_HOME
    home_directory = MAILMAN_HOME
    user = MAILMAN_UID
    group = MAILMAN_GID

list:
    driver = pipe
    command = MAILMAN_WRAP post ${lc:$local_part}
    current_directory = MAILMAN_HOME
    home_directory = MAILMAN_HOME
    user = MAILMAN_UID
    group = MAILMAN_GID

Mailman was configured --with-mail-gid=exim.