update
[exim-website.git] / config.samples / C029
1 Date: Thu, 11 Nov 1999 16:20:13 -0500 (EST)
2 From: "Dave C." <davec@pathwaynet.com>
3
4 1. The standard way to connect one's MTA to mailman (and for Majordomo
5 as well) seems to be to add a set of aliases for *every* list one
6 creates. Once upon a time, I crufted a set of configs from Smail to
7 work with majordomo, to automaticaly recognize the standard patterns,
8 for all lists in existance. I have long since switched to Exim, and
9 have recently installed Mailman to test on my personal workstation in
10 preparation for installing it on our main system. To get to the point,
11 I have setup a set of transports and directors for Exim, which will do
12 the same thing.
13
14
15 ##########################################################
16
17 #
18 # Transports:
19 #
20
21 mailman_post:
22  driver=pipe
23  command = "/home/mailman/mail/wrapper post ${local_part}"
24  user = exim
25  group = mail
26
27 mailman_owner:
28  driver=pipe
29  command = "/home/mailman/mail/wrapper mailowner ${local_part}"
30  user = exim
31  group = mail
32
33 mailman_request:
34  driver=pipe
35  command = "/home/mailman/mail/wrapper mailcmd ${local_part}"
36  user = exim
37  group = mail
38
39 ##########################################################
40
41 #
42 # Directors:
43 #
44
45 mailman_post:
46  domains=lists.whateverdomains.com
47  driver=smartuser
48  condition=${if exists{/home/mailman/lists/${local_part}} {yes}{no}}
49  transport=mailman_post
50
51 mailman_request:
52  domains=lists.whateverdomains.com
53  driver=smartuser
54  suffix=-request
55  condition=${if exists{/home/mailman/lists/${local_part}} {yes}{no}}
56  transport=mailman_request
57
58 mailman_owner1:
59  domains=lists.whateverdomains.com
60  driver=smartuser
61  prefix=owner-
62  condition=${if exists{/home/mailman/lists/${local_part}} {yes}{no}}
63  transport=mailman_owner
64
65 mailman_owner2:
66  domains=lists.whateverdomains.com
67  driver=smartuser
68  suffix=-owner
69  condition=${if exists{/home/mailman/lists/${local_part}} {yes}{no}}
70  transport=mailman_owner
71
72 mailman_owner3:
73  domains=lists.whateverdomains.com
74  driver=smartuser
75  suffix=-admin
76  condition=${if exists{/home/mailman/lists/${local_part}} {yes}{no}}
77  transport=mailman_owner
78