[Mailman-Users] Postfix & Mailman not playing well together

Mark Sapiro mark at msapiro.net
Mon May 23 21:14:03 CEST 2011


Michael Soh wrote:
>
>On Mon, May 23, 2011 at 2:41 PM, Mark Sapiro <mark at msapiro.net> wrote:
>
>> It looks like epicfail at linuslive.com is being mapped to
>> epicfail at mikesoh.com by virtual_alias_maps, but mikesoh.com is in turn
>> a virtual domain (i.e. in virtual_alias_domains).
>>
>
>Yes, this is correct.  I have a lot of e-mail addresses and it's just easier
>to virtualize the entire domain (hence the mysql hook).
>
>
>> It looks like mydomain is set to mikesoh.com because it defaults
>> myhostname with the first component removed. You either want to set
>> mydomain explicitly to some domain in mydestination or if your Mailman
>> is recent enought to support it, set
>>
>> VIRTUAL_MAILMAN_LOCAL_DOMAIN = 'localhost'
>>
>> in mm_cfg.py and run Mailman's bin/genaliases to rebuild
>> virtual-mailman.
>>
>
>I've tried putting in the variable in mm_cfg.py to no avail.  Still the same
>results.


Did you run Mailman's bin/genaliases after changing mm_cfg.py?

What Mailman version is this?

What's in data/virtual-mailman? Do the 'to' addresses have @localhost
appended. If not, you can append it manually and there are ways to
automate this.


>I've also tried setting mydomain to a destination (
>hotdog.mikesoh.com) and that didn't work either.


What were the postfix log messages in that case?

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