Greetings. How to get the data/virtual-mailman file to include all
virtual domains after running bin/genaliases?
This is on a FreeBSD 10.3 system running mailman 2.1.22 from ports.
The system has mailing lists defined from 3 domains -- let's call them
domain1.tld, domain2.tld, and domain3.tld.
After running bin/genaliases, the data/virtual-mailman file only
includes whichever virtual domain is defined _last_ in Mailman/mm_cfg.py.
I have tried moving the domain definitions around. In each case,
genaliases only picks up the final one.
Thanks in advance for clues on getting all domains' lists included.
The end of Mailman/mm_cfg.py looks like this:
----------
..
# Put YOUR site-specific settings below this line.
MTA = 'Postfix'
# Clear the Defaults.py VIRTUAL_HOSTS entry
# VIRTUAL_HOSTS.clear()
add_virtualhost('lists.domain1.tld','lists.domain1.tld')
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.domain1.tld']
add_virtualhost('lists.domain2.tld','lists.domain2.tld')
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.domain2.tld']
add_virtualhost('mail.domain3.tld','mail.domain3.tld')
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mail.domain3.tld']
DEB_LISTMASTER = '[email protected]'
# dn 20140423
# adding DMARC workaround here
# see http://wiki.list.org/pages/viewpage.action?pageId=17891458
# for more details
ALLOW_FROM_IS_LIST = Yes
----------
The Postfix main.cf file has these mailman-specific settings:
----------
..
alias_maps = hash:/usr/local/etc/postfix/aliases,
hash:/usr/local/mailman/data/aliases
..
virtual_alias_maps =
proxy:mysql:/usr/local/etc/postfix/mysql/virtual_alias_maps.cf
proxy:mysql:/usr/local/etc/postfix/mysql/domain_alias_maps.cf
proxy:mysql:/usr/local/etc/postfix/mysql/catchall_maps.cf
proxy:mysql:/usr/local/etc/postfix/mysql/domain_alias_catchall_maps.cf
hash:/usr/local/mailman/data/virtual-mailman
..
recipient_delimiter = +
----------
Thanks again for clues on getting virtual-mailman to include all lists
from all virtual domains.
dn
------------------------------------------------------
Mailman-Users mailing list [email protected]
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe:
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org