Marek Podmaka via Postfix-users:
> Hello,
>
> I am using dovecot-lda as delivery for virtual users, Since upgrading
> from debian 10 (postfix 3.4.23, dovecot 2.3.16) to debian 11 (postfix
> 3.5.25, dovecot 2.3.21), it seems postfix is using parallel delivery
> of multiple emails to the same recipient, which breaks sieve
> "duplicate" filter (it saves info about a message only after it is
> delivered, so when another delivery starts in between, it is not
> considered duplicate). So I would call this a race condition in the
> implementation of the sieve filter, however it did not trigger before
> the upgrade. I have double-checked both postfix and dovecot configs
> and they did not change during the upgrade.
>
> Do I understand correctly that "dovecot_destination_recipient_limit=1"
> should start delivery of 2nd email to the same recipient address only
> after the 1st one is finished?
It's necessary but not sufficient. As documented, this changes how
dovecot_destination_concurrency_limit works, from concurrency per
domain, to concurrency per recipient (in addition to the obvious
"one recipient per dovecot delivery request).
So you still need to specify dovecot_destination_recipient_limit.
> ### postconf -n|grep dovecot
> dovecot_destination_recipient_limit = 1
Add: dovecot_destination_concurrency_limit = 1.
The Postfix scheduler has worked this way for more than 25 years.
Wietse
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]