[email protected]:
> Hi,
> 
> We have migrated to a new domain yyy.com.  We also continue to receive  
> mails on old domain xxx.com.
> 
> When a sender sends a mail to [email protected] (old domain), mail is  
> received and delivered to user abcd.  Abcd when he replies to all (his  
> from email address will be [email protected] [new domain], and hence, mail  
> is also sent to [email protected] [old domain].  So, the sent mail is also  
> received back to the same sender.
> 
> When the actual recipient receives the mail, he will have [email protected]  
> and [email protected] in the address list. So, when he replies to that  
> mail, 2 mails will be sent to the same user.
> 
> What's the best way that, the user receives only one mail, when both  
> domains are in To addresses?

/etc/postfix/main.cf:
    virtual_alias_maps = 
        hash:/etc/postfix/old-to-new ...other existing maps...

/etc/postfix/old-to-new:
    [email protected]    [email protected]

# postmap /etc/postfix/old-to-new
# postfix reload

Instead of hash, you can use any supported type.

        Wietse

Reply via email to