View Single Post
Old 5th February 2013, 17:21
cFoo cFoo is offline
Junior Member
Join Date: Feb 2013
Posts: 6
Thanks: 1
Thanked 1 Time in 1 Post

Adding the script /etc/mailman/virtual_to_transport
sed -r -e 's/(^[^#]\S+\s+).+$/\1local/' $1 > /var/lib/mailman/data/transport-mailman
/usr/sbin/postmap /var/lib/mailman/data/transport-mailman
When you run bin/genaliases mailman will generate the transport-mailman with a list aliases mapping to local. Example,

# CREATED: Sun Feb  3 12:49:43 2013              local        local      local      local
Why this works is beyond my understanding of mailman. If you look at virtual-mailman that mapping should have picked up the mapping and directs the mail to aliases which then delivers to mailman. With the transport-mailman mapping, essentially you are sending it to the local system and letting the local services deal with it. I think.
Reply With Quote