[Mailman-Users] problem with mailman handling incomming mail

Mark Sapiro mark at msapiro.net
Thu Jun 2 17:48:26 CEST 2011


On 6/2/11 8:13 AM, Maxime Longuepee wrote:
> 
> Here is the output of postconf -n:
> 
[...]
> virtual_alias_maps =
> mysql:$config_directory/mysql_virtual_alias_maps.cf,hash:/usr/local/mailman/data/aliases


This is wrong. You need to add hash:/usr/local/mailman/data/aliases to
alias_maps, not to virtual_alias_maps. Probably something like

alias_maps = hash:/etc/aliases, hash:/usr/local/mailman/data/aliases

Then you need

virtual_alias_maps =
mysql:$config_directory/mysql_virtual_alias_maps.cf,hash:/usr/local/mailman/data/virtual-mailman

and if it isn't already there, you need

POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mail.mydomain.org']

in mm_cfg.py, and if that wasn't already there, you need to run
Mailman's bin/genaliases to create the virtual-mailman* files.

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