[Exim] 1. A contrib, and 2. A question.

Pàgina inicial
Delete this message
Reply to this message
Autor: Dave C.
Data:  
A: exim-users, mailmain-users
Assumpte: [Exim] 1. A contrib, and 2. A question.

1. The standard way to connect one's MTA to mailman (and for Majordomo
as well) seems to be to add a set of aliases for *every* list one
creates. Once upon a time, I crufted a set of configs from Smail to
work with majordomo, to automaticaly recognize the standard patterns,
for all lists in existance. I have long since switched to Exim, and
have recently installed Mailman to test on my personal workstation in
preparation for installing it on our main system. To get to the point,
I have setup a set of transports and directors for Exim, which will do
the same thing. I will include them at the bottom of this message.

2. Upon startintg to prepare for the installation on our main server, I
find that the user 'mailman' is already in use by a customer. How
difficult/possible is it to use a different username for Mailman? What
changes would I have to make to do so?


##########################################################

#
# Transports:
#

mailman_post:
driver=pipe
command = "/home/mailman/mail/wrapper post ${local_part}"
user = exim
group = mail

mailman_owner:
driver=pipe
command = "/home/mailman/mail/wrapper mailowner ${local_part}"
user = exim
group = mail

mailman_request:
driver=pipe
command = "/home/mailman/mail/wrapper mailcmd ${local_part}"
user = exim
group = mail

##########################################################

#
# Directors:
#

mailman_post:
domains=lists.whateverdomains.com
driver=smartuser
condition=${if exists{/home/mailman/lists/${local_part}} {yes}{no}}
transport=mailman_post

mailman_request:
domains=lists.whateverdomains.com
driver=smartuser
suffix=-request
condition=${if exists{/home/mailman/lists/${local_part}} {yes}{no}}
transport=mailman_request

mailman_owner1:
domains=lists.whateverdomains.com
driver=smartuser
prefix=owner-
condition=${if exists{/home/mailman/lists/${local_part}} {yes}{no}}
transport=mailman_owner

mailman_owner2:
domains=lists.whateverdomains.com
driver=smartuser
suffix=-owner
condition=${if exists{/home/mailman/lists/${local_part}} {yes}{no}}
transport=mailman_owner

mailman_owner3:
domains=lists.whateverdomains.com
driver=smartuser
suffix=-admin
condition=${if exists{/home/mailman/lists/${local_part}} {yes}{no}}
transport=mailman_owner