Page MenuHomeFreeBSD

mail/dovecot2-pigeonhole: lib-sieve: Fixed handling of an early explicit keep during multiscript execution.
ClosedPublic

Authored by ler on Jan 14 2017, 4:20 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 15, 7:13 AM
Unknown Object (File)
Sat, Apr 13, 10:50 PM
Unknown Object (File)
Mar 12 2024, 6:25 AM
Unknown Object (File)
Mar 3 2024, 10:51 AM
Unknown Object (File)
Mar 3 2024, 10:51 AM
Unknown Object (File)
Mar 3 2024, 10:50 AM
Unknown Object (File)
Mar 3 2024, 10:50 AM
Unknown Object (File)
Mar 3 2024, 10:39 AM
Subscribers

Details

Summary

mail/dovecot2-pigeonhole: lib-sieve: Fixed handling of an early explicit keep during multiscript execution.

Applies to LDA/LMTP context in general, not only when sieve_before/sieve_after are used.
Action side-effects and the message snapshot would be lost at the final stage where the implicit keep is evaluated.
This happened because the keep action itself is not actually executed, but rather its presence is noted to determine whether more scripts need to be executed.
So, when finally execution of the actual keep action is due, i.e. when there are no more scripts in the sequence, it overrides the explicit keep from the last script.
This didn't take the side-effects and message snapshot into account.

add upstream patch: https://github.com/dovecot/pigeonhole/commit/772485538302957ebada484b6eedec57136bc737

Approved by: (adamw|rene) (Mentor)

Test Plan

poudriere (ok)

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ler retitled this revision from to mail/dovecot2-pigeonhole: lib-sieve: Fixed handling of an early explicit keep during multiscript execution..
ler updated this object.
ler edited the test plan for this revision. (Show Details)
ler added reviewers: adamw, rene.

grr. The lsof stuff won't be committed in this rev.
need to figure out how to get arcanist to JUST do that directory.

ler removed rP FreeBSD ports repository as the repository for this revision.

update PORTREVISION, kill lsof

adamw edited edge metadata.

Approved. Great commit message too! Just change "add upstream patch" to "Obtained from:" (it's one of the automatic fields).

This revision is now accepted and ready to land.Jan 14 2017, 5:58 PM
This revision was automatically updated to reflect the committed changes.