----- Message from Wietse Venema <[email protected]> ---------
Date: Thu, 31 Oct 2019 08:20:44 -0400 (EDT)
From: Wietse Venema <[email protected]>
Reply-To: Postfix users <[email protected]>
Subject: Re: Avoidance of duplicate mails reg
To: Postfix users <[email protected]>
[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
----- End message from Wietse Venema <[email protected]> -----
Sorry for the trouble. But, after doing that, when I sent a mail from
outside to both these email addresses [email protected] and
[email protected] (in a single mail) , 2 emails came instead of one. I
want that, if both these domains are listed in the same mail, only one
mail should be received.
Hope this clarifies my requirement.
Anant S Athavale
------------------------------------------------------------------------------
IMPORTANT NOTE:
ISRO Satellite Centre (ISAC) was renamed as U R Rao Satellite Centre (URSC).
Hence, the existing domain (isac.gov.in) is changed to new domain ursc.gov.in
resulting into change of e-mail address from [email protected] to
[email protected].
Please note this change and update your contact details for new domain
(ursc.gov.in).
------------------------------------------------------------------------------
Confidentiality Notice: This e-mail message, including any attachments, is for
the sole use of the intended recipient(s) and may contain confidential and
privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.
------------------------------------------------------------------------------