[Mailman-Users] Changing host names, revisited... POSTFIX_STYLE_VIRTUAL_DOMAINS?

Mark Sapiro mark at msapiro.net
Wed May 5 16:12:25 CEST 2010


Tanstaafl wrote:
>
>Ok, so, now that we know how/why the current setup works, can you
>confirm the steps to fix it properly as:
>
>1. Stop postfix
>
>2. Stop mailman
>
>3. Make these changes to mm_cfg.py:
>
>  MTA = 'Postfix'
>  DEFAULT_EMAIL_HOST = 'example.com'
>  DEFAULT_URL_HOST = 'lists.example.com'
>  POSTFIX_STYLE_VIRTUAL_DOMAINS = 'example.com'


The above needs to be

POSTFIX_STYLE_VIRTUAL_DOMAINS = ['example.com']

(it's a list of strings, not a string)


>  VIRTUAL_HOSTS.clear()
>  add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
>
>4. Run $prefix/bin/withlist -l -a -r fix_url to fix all existing lists
>
>5. Run $prefix/bin/genaliases
>
>6. Delete the listname*@example.com > listname*@myhost.example.com
>   alias mappings from the mysql:/etc/postfix/mysql_vam.cf db
>
>7. Start mailman
>
>8. Start postfix
>
>?


With the one change above, this seems all good.

Please let us know how this goes. I will need to revise that FAQ.

-- 
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