Skip to content
Snippets Groups Projects
user avatar
Stephan Bosch authored
lib-sieve: plugins: duplicate: Only save duplicate entry when the last script executed successfully.

This prevents prematurely marking duplicates when errors occur during result
execution. Before, the pending duplicate database changes were committed after
each script executed in the sequence. If a later script failed, duplicate tests
would mark duplicate messages prematurely.

Disadvantage is that actions in earlier scripts that are shielded by a duplicate
test can be executed twice erroneously when errors occurred in later scripts in
the previous delivery. Still, unexpected duplicate action execution is better
than losing mail due to erroneous duplicate detections.

Fixing this properly requires extensively restructuring result execution.
d8bd2c73
History
Name Last commit Last update

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.