Marek Podmaka via Postfix-users: > Hi, > > 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.
The above duplicate filter is in effect when Postfix writes recipients to a queue file. This happens after virtual alias expansion, always_bcc, sender_bcc_mapsm, recipient_bcc_maps, and after any recipients added with Milter actions. When enable_original_recipient is turned on, the above duplicate filter will NOT discard duplicate recipients that differ in their "original recipient" address. This is for use cases where all mail for a domain is received in a single mailbox, and where the original recipient is obtained from the X-Original-To: header. > 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 If that is the only difference: you changed from delivery with the virtual delivery agent to delivery with the lmtp or pipe delivery agent, then Postfix still delivers the same recipients. If there is a difference in deduplication, then you have introduced a difference up-stream of the delivery agents. You need to find that difference. I siggest that you start with comparing the outputs from "postconf -n" on the old and new servers. Wietse _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org