On Fri, Feb 25, 2011 at 04:34:56PM +0200, Etienne Pretorius wrote:
>> Address mappings are tested via "postmap -q".
>>
>>> MAIN.CF
>>> virtual_alias_maps = mysql:/etc/postfix/mysql.virtualaliases.cf
>>
>> [usually best to put "proxy:" in front of "mysql:"]
>>
>> Report the output of:
>>
>> postmap -q [email protected] mysql:/etc/postfix/mysql.virtualaliases.cf
>> echo $?
> [root@mx-02 postfix]# postmap -q user1@domain
> mysql:/etc/postfix/mysql.virtualaliases.cf
> user1@domain,user2@domain
If this rewrite is not happening, either the cleanup instance used has
master.cf overrides that change the virtual_alias_maps setting, or
the smtpd instance in question disables address mappings. Or your
cut/paste from main.cf is not the actual setting.
--
Viktor.