[Mailman-Users] Virtual domains

hjalmar hjalmar.janos at gmail.com
Thu Nov 15 23:18:37 CET 2007

Hi folks!

Yes virtual domains, again.
I have been reading and tested the virtual domain configuration as explained
by the mailman documentation but I can't get it working at my work.

We have two domains domain1.com and domain2.com.
domain1.com is the primary domain and domain2.com is the virtual one.

In my /etc/mailman/mm_cfg.py config I have the following:

POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.domain1.com', 'lists.domain2.com']

In postfix:
mydomain = domain1.com
myhost = mail.domain1.com
mydestination = $myhost, localhost.$mydomain
recipient_delimiter = +
recive_override_options = no_address_mappings
alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
alias_database = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
virtual_alias_maps = hash:/etc/postfix/virtual,

list-tow at domain2.com     list-tow

list-one at domain1.com     list-one

list-one                 "|/usr/lib/mailman/mail/mailman post list-one"
list-tow                 "|/usr/lib/mailman/mail/mailman post list-tow"

This create a lot of unessesary complexity. Everytime we have to create a
new list on domain2.com we have also to edit /etc/postfix/virtual.
How do I have to confiure mailman/postfix to let mailman automaticaly create
the correct information for our list in t.ex.

OS: Ubuntu 6.06.1
Postfix: 2.2.10
Mailman: 2.1.5


More information about the Mailman-Users mailing list