[Pkg-exim4-users] exim4 & mailman on wheezy

thessy at besser.de thessy at besser.de
Fri May 23 06:47:23 UTC 2014


Am 23.05.2014 08:35, schrieb Marc Haber:
> On Fri, May 23, 2014 at 08:15:24AM +0200, thessy at besser.de wrote:
>> Am 23.05.2014 07:43, schrieb Marc Haber:
>> If I understand /usr/share/doc/mailmain/README.Exim4.Debian.gz
>> right, exim should ask mailman for local parts if non is found in
>> /etc/aliases. This obviously does not work.
>
> It should. In which file did you put the routers, and are you running
> split or non-split config?

split

cat /etc/exim4/conf.d/router/970_local_mailman
# Messages get sent out with
# envelope from "mailman-bounces at virtual_domain"
# But mailman doesn't put such addresses
# in the aliases. Recognise these here.
mailman_workaround:
   debug_print = "R: mailman_workaround for $local_part@$domain"
   domains = +local_domains
   require_files = MAILMAN_HOME/lists/$local_part/config.pck
   driver = accept
   local_parts = mailman
   local_part_suffix_optional
   local_part_suffix = -bounces : -bounces+* : \
            -confirm+* : -join : -leave : \
            -subscribe : -unsubscribe : \
            -owner : -request : -admin
   transport = mailman_transport
   group = MAILMAN_GROUP

# We need to handle the mailman-loop separately from the other addresses
# since the loop action is not handled by the wrapper.
mailman_loop_router:
   debug_print = "R: mailman_loop for $local_part@$domain"
   domains = +local_domains
   require_files = MAILMAN_HOME/lists/$local_part/config.pck
   driver = accept
   local_parts = mailman
   transport = mailman_loop_transport
   local_part_suffix = -loop
   group = MAILMAN_GROUP

# Mailman lists
mailman_router:
   debug_print = "R: mailman_router for $local_part@$domain"
   domains = +local_domains
   condition = 
${lookup{$local_part@$domain}lsearch{MAILMAN_HOME/data/virtual-mailman}{1}{0}}
   require_files = MAILMAN_HOME/lists/$local_part/config.pck
   driver = accept
   local_part_suffix_optional
   local_part_suffix = -bounces : -bounces+* : \
                       -confirm+* : -join : -leave : \
                       -subscribe : -unsubscribe : \
                       -owner : -request : -admin
   transport = mailman_transport
   group = MAILMAN_GROUP

Regards
Thomas




More information about the Pkg-exim4-users mailing list