[Mailman-Users] New Mailman Installation - Can't Send Email toaNew List (reformatted)

Mark Sapiro msapiro at value.net
Sun Nov 12 18:02:33 CET 2006

McJathan wrote:
>Here are the entries from our mm_cfg.py file:
>     from Defaults import
>     POSTFIX_STYLE_VIRTUAL_DOMAINS=['domain1.net', 'domain2.net']
>     MTA='Postfix'
>     add_virtualhost('mail.domain1.net', 'domain1.net')
>     MAILMAN_SITE_LIST='mailman'*

Are the values for DEFAULT_URL_HOST and DEFAULT_EMAIL_HOST from
Defaults.py those for the domain2.net domain? If not, you need to set
them in mm_cfg.py and clear the VIRTUAL_HOSTS dictionary of the entry
from Defaults.py and have add_virtualhost() lines for the default
domain and each additional domain. See, e.g., the beginning of

Also, it looks like 

     add_virtualhost('mail.domain1.net', 'domain1.net')

may be backwards - the web domain is first and the email domain is

If you need to make changes to these in mm_cfg.py, you probably also
need to run fix_url as described later in FAQ 4.29 or in

The fact that you have nothing in virtual-mailman after running
bin/genaliases and/or creating lists indicates you have no lists whose
host_name attribute is in the POSTFIX_STYLE_VIRTUAL_DOMAINS list.

Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

More information about the Mailman-Users mailing list