On 14.04.24 00:53, Marek Podmaka via Postfix-users wrote:
When/how does postfix prevent duplicate deliveries when delivering to an
alias and explicitly also to the alias result? For example all@domain + Cc
to one of the members of that alias. I have found parameters
"duplicate_filter_limit" and "enable_original_recipient" that mention it,
but I don't understand how exactly it works.

I have an older mailserver where this works (no duplicate deliveries,
otherwise someone would complain). I am using virtual users with default
virtual delivery.

I also have another mail server also with the same type of virtual users
(same database schema), but which was setup with Dovecot LDA as delivery
agent. And there the deduplication doesn't work, I had to use
dovecot-sieve's "duplicate" extension, which discards the duplicated email.
Is it because for LDA I have destination_recipient_limit=1? Or maybe just
because of using sender_bcc_maps and not related to LDA?

where/how are those aliases implemented? I believe if they are implemented in virtual_alias_maps, deduplication takes place.

I have setup sieve rule in the past according to
https://serverfault.com/questions/112958/postfix-aliases-and-duplicate-e-mails-how-to-fix
which mentions old faq.html on postfix web and some broken links to old
mail list archives claiming the deduplication is not implemented. So what
are the prerequisites for it to work?
I am now planning to migrate the old server from courier to dovecot + lda
and want to know if I will need the sieve solution again or not...

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
"One World. One Web. One Program." - Microsoft promotional advertisement
"Ein Volk, ein Reich, ein Fuhrer!" - Adolf Hitler
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to