[Mailman-Users] exim 4 configuration

Chris Albone yvain at gmp.usyd.edu.au
Fri Nov 15 05:42:36 CET 2002


Hiyah,

There are some significant changes to the configuration of exim between
exim 3 and 4. Directors no longer exist. Their work has been taken over
by 'routers'. In any case, the following exim.conf fragments work for me
- you may want to add them to your documentation - especially the
README.EXIM that you include with the mailman source.


### start of general fragment
MAILMAN_HOME=/usr/local/mailman
MAILMAN_WRAP=/usr/local/mailman/mail/wrapper
MAILMAN_UID=exim
MAILMAN_GID=mail
### end of general fragment
### start of routers fragment
list_owner_router:
   driver = redirect
   require_files = MAILMAN_HOME/lists/${lc::$local_part}/config.db
   local_part_suffix = -owner
   data = "${lc:$local_part}-admin@${domain}"

owner_list_router:
   driver = redirect
   require_files = MAILMAN_HOME/lists/${lc::$local_part}/config.db
   local_part_prefix = owner-
   data = "${lc:$local_part}-admin@${domain}"
##
## Next 3 router direct admin, request and list mail to the appropriate
## transport.  List existence is checked as above.

list_admin_router:
   driver = accept
   local_part_suffix = -admin
   require_files = MAILMAN_HOME/lists/${lc::$local_part}/config.db
   transport = list_admin_transport

list_request_router:
   driver = accept
   local_part_suffix = -request
   require_files = MAILMAN_HOME/lists/${lc::$local_part}/config.db
   transport = list_request_transport

list_router:
   driver = accept
   require_files = MAILMAN_HOME/lists/${lc::$local_part}/config.db
   transport = list_transport

### end of routers fragment
### Start of transports fragment
list_transport:
           driver = pipe
           command = "MAILMAN_WRAP post ${lc:$local_part}"
           current_directory = MAILMAN_HOME
           home_directory = MAILMAN_HOME
           user = mailman
           group = mail

list_request_transport:
           driver = pipe
           command = "MAILMAN_WRAP mailcmd ${lc:$local_part}"
        current_directory = MAILMAN_HOME
           home_directory = MAILMAN_HOME
           user = mailman
           group = mail

list_admin_transport:
           driver = pipe
           command = "MAILMAN_WRAP mailowner ${lc:$local_part}"
           current_directory = MAILMAN_HOME
           home_directory = MAILMAN_HOME
           user = mailman
           group = mail
### end of transports fragment


I've tested this with exim 4.10 and mailman 2.0.13 

peace
chris

-- 
Chris Albone <yvain at gmp.usyd.edu.au>




More information about the Mailman-Users mailing list