On 05-03-2021 09:41, Steve Dondley wrote:
You may also have disabled recipient duplication. We will
never knwo unles yo reveal yur configration as described
in http://www.postfix.org/DEBUG_README.html#mail.

I've been looking at this a loooong time tonight. Despite my best
efforts, I did not find a reason for the duplicate email.

I even created my own content filter to rule out some kind of
spamassassin/spamc/spamd miconfiguration. I'm still receiving emails
twice with this customs content filter turned on (only once with the
content filter turned ooff).

I turned on verbose for cleanup and trivial-rewrite but there was so
much output and much of it repetitive that it didn't help me determine
what's going on.

Here are postfix config file: https://pastebin.com/bZxjHF5y

Hopefully something jumps out at you.


Isn't this as simple as:

1. new email comes in, is delivered to content filter, with bcc to always_bcc recipient. 2. content filter re-injects email into the queue for final delivery, postfix performs final delivery, with bcc to the always_bcc recipient?

Since these are 2 separate deliveries (with different routes) as far as postfix is concerned,there will be 2 messages to the always_bcc receipient, and no deduplication.

Kind regards,
        Tom

Reply via email to