[Mailman-Users] Mailman on multiple domains

Mark Sapiro mark at msapiro.net
Fri Oct 31 20:02:29 CET 2008

Scott Race wrote:

>So I didn't have the entry for POSTFIX_STYLE_VIRTUAL_DOMAINS in my
>mm_cfg.py file.
>So I added the following:
>POSTFIX_STYLE_VIRTUAL_DOMAINS = ['www.second-domain.com']

This domain has to match the host_name attribute of the list (the
'email host', not the 'url host'). It seems likely it should be
'second-domain.com', not 'www.second-domain.com'.

>Ran /bin/genaliases, no errors....

But did it produce a data/virtual-mailman file?

>Mail still bounces with the following:
>Your message did not reach some or all of the intended recipients.
>      Subject:	Test to list
>      Sent:	10/30/2008 4:16 PM
>The following recipient(s) could not be reached:
>      scott-test at second-domain.com on 10/30/2008 4:16 PM
>            There was a SMTP communication problem with the recipient's
>email server.  Please contact your system administrator.
>            <jdaarch.com #5.5.0 smtp;550 <scott-test at second-domain.com>:
>Recipient address rejected: User unknown in virtual alias table
>Guess I still don't know how the virtual alias table gets updated when a
>list is created....thanks in advance for any thoughts.

If the list's host_name is in POSTFIX_STYLE_VIRTUAL_DOMAINS, the
appropriate virtual mappings are added to data/virtual-mailman and
POSTFIX_MAP_CMD (default '/usr/sbin/postmap') is run to update

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