[Mailman-Users] Mailman & POSTFIX Configuration Help

Geoff Shang geoff at QuiteLikely.com
Sun Aug 19 06:34:15 CEST 2012


Hi,

I'm not a Postfix guru, but...

On Fri, 17 Aug 2012, Futchko, Rose wrote:

> Basically, POSTFIX has been configured for base email to be sent to
> xxx at mail-test.company.org and I would like the mail list to use
> xxx at listtest.company.org
{snip}
> virtual_alias_maps = hash:/etc/postfix/virtual
> mydestination = $myhostname, listtest.$mydomain

I think here is your problem.  You've set up your Mailman aliases as being 
virtual but you've put listtest in mydestination (which makes it not 
virtual).

Instead, I'd recommend doing:

virtual_mailbox_domains = listtest.company.org

> MM_CFG.PY
> DEFAULT_URL_HOST   = 'listtest.company.org'
> DEFAULT_EMAIL_HOST = 'listtest.company.org'
> add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
> MTA = 'Postfix'

You'll also need to add:

POSTFIX_STYLE_VIRTUAL_DOMAINS = ['listtest.company.org']

for Mailman to populate the virtual file when new lists are created.

HTH,
Geoff.



More information about the Mailman-Users mailing list