email duplicate suppression

Barry Kwok hkeasytech at
Fri Mar 25 04:08:08 GMT 2011

On Wed, Mar 23, 2011 at 7:15 PM, Barry Kwok <hkeasytech at> wrote:

> Hi,
> MTA: postfix 2.3.3
> We are using MailScanner's archive rules to auto forward email.
> e.g
> FromOrTo: abc at         supervisor at
> But if someone send an email to abc at and cc to supervisor at,
> supervisor at will then get two copies of emails.
> Is there any way in Postfix or MailScanner to suppress the duplication.
> --barry

I read a recent discussion in postfix group and found some hints.

<> By
setting enable_original_recipient = no in postfix
postfix will do duplicate elimination on the rewritten recipient address.
And this will eliminate the duplication such as alias expansion effectively.

But in my case above, for archive mail forwarding rule, It will only do

For rule
From: abc at            supervisor at
It will still work
But for rule
To: abc at          supervisor at
will not work.

I think the reason for that is because MailScanner loss the original
Envelope-To info after setting enable_original_recipient = no

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the MailScanner mailing list