![](https://secure.gravatar.com/avatar/d296f9354ba360c36edcf2fe90977985.jpg?s=120&d=mm&r=g)
On Mon, May 23, 2011 at 2:41 PM, Mark Sapiro <mark@msapiro.net> wrote:
It looks like epicfail@linuslive.com is being mapped to epicfail@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. I've also tried setting mydomain to a destination ( hotdog.mikesoh.com) and that didn't work either. And tried the default (localdomain) and that failed as well.