1 Date: Tue, 10 Apr 2001 16:01:16 -0700
2 From: Thomas Robinson <roo@marsh.cts.com>
4 This configuration removes a lot of the aliases, and automates a
5 lot of the other functions based on whether the files /
8 The number 73 in the listresend director must be modified to match
9 the UID of Majordomo on the host system.
11 Only three aliases per list are needed:
17 # Lots of stuff snipped . . .
19 trusted_users = mail:majordomo
25 ######################################################################
26 # TRANPORTS CONFIGURATION #
27 ######################################################################
29 # More stuff snipped . . .
31 # This transport is used for processing *-request addresses
36 command = "/usr/local/mail/majordomo/wrapper majordomo \
37 -C /usr/local/mail/${domain}/majordomo.cf \
39 return_fail_output = true
42 # This transport is used for processing messages through the
43 # majordomo resend mechanism
47 command = "/usr/local/mail/majordomo/wrapper resend \
48 -C /usr/local/mail/${domain}/majordomo.cf \
49 -l ${local_part} ${local_part}\@${domain}"
50 return_fail_output = true
53 # This transport handles creation of digests for majordomo.
57 command = "/usr/local/mail/majordomo/wrapper digest \
58 -c /usr/local/mail/${domain}/majordomo.cf \
59 -r -C -l ${local_part}-digest ${local_part}-digest\@${domain}"
60 return_fail_output = true
63 # This transport handles the archive function
67 command = "/usr/local/mail/majordomo/wrapper archive2.pl \
68 -C /usr/local/mail/${domain}/majordomo.cf \
69 -f /usr/local/mail/${domain}/lists/${local_part}.archive/${local_part} \
71 return_fail_output = true
77 ######################################################################
78 # DIRECTORS CONFIGURATION #
79 # Specifies how local addresses are handled #
80 ######################################################################
82 # A local address is passed to each in turn until it is accepted. #
83 ######################################################################
85 # Local addresses are those with a domain that matches some item
86 # in the "local_domains" setting above, or those which are passed
87 # back from the routers because of a "self=local" setting (not
88 # used in this configuration).
91 # This director handles list processing of *-request addresses.
92 # Note that if there is no file, the message will NOT get passed
98 require_files = +/usr/local/mail/${domain}/lists/${local_part}.config
102 # This director handles list processing when sending through the
103 # majordomo RESEND mechanism. If there is no file, the message
104 # will NOT get passed to majordomo.
109 suffix_optional = true
110 condition = ${if eq {${originator_uid}}{73} {no}{yes}}
111 require_files = +/usr/local/mail/${domain}/lists/${local_part}${local_part_suffix}.config
115 # This director handles processing of the archive files for a
121 suffix_optional = true
122 require_files = +/usr/local/mail/${domain}/lists/${local_part}.archive:!+/usr/local/mail/${domain}/lists/${local_part}-digest.config
123 transport = archivate
127 # This director handles the list-digest processing.
131 require_files = +/usr/local/mail/${domain}/lists/${local_part}-digest.config
132 transport = digestify
136 # This director handles list processing.
140 require_files = +/usr/local/mail/${domain}/lists/${local_part}.config
141 file = /usr/local/mail/${domain}/lists/${local_part}
151 # This director handles aliasing using a traditional /etc/aliases
152 # file. If any of your aliases expand to pipes or files, you
153 # will need to set up a user and a group for these deliveries to
154 # run under. You can do this by uncommenting the "user" option
155 # below (changing the user name as appropriate) and adding a
156 # "group" option if necessary.
160 file = /etc/mail/aliases/${domain}
161 search_type = lsearch
163 pipe_transport = address_pipe
166 # The rest of the file goes here . . .