[Mailman-Users] Different web interface and email address domains with POSTFIX_STYLE_VIRTUAL_DOMAINS

Mark Sapiro mark at msapiro.net
Sat Jan 19 21:18:13 CET 2008


Andrew Oakley wrote:
> Never mind, I've fixed it.  It seems you need to run:
> newlist --urlhost=sub.domain.com --emailhost=domain.com list-name
> when you create the list and it works.


What you really want is

DEFAULT_URL_HOST = 'sub.domain.com'
DEFAULT_EMAIL_HOST = 'domain.com'
VIRTUAL_HOSTS.clear()
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)

in mm_cfg.py. This will remove whatever was added by the
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) in Defaults.py and
set the correct defaults for list creation.

-- 
Mark Sapiro <mark at msapiro.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