Op 4/25/2017 om 11:52 AM schreef Gilles Chauvin:
Hello,
Previously, while running Dovecot 2.2.27/Pigeonhole 0.4.16 the following code snippet was working as one would expect:
if duplicate { addflag ["\\seen", "Duplicate"]; fileinto "Duplicate"; stop; }
if address :contains "to" "user.email@example.com" { addflag "$label1"; }
After upgrading to Dovecot 2.2.29.1/Pigeonhole 0.4.18 it's not working anymore. When an e-mail is sent to the user the "$label1" isn't applied at all to the message (in the case it's NOT a duplicate).
Downgrading to Dovecot 2.2.29.1/Pigeonhole 0.4.17 exposes the same incorrect behaviour.
Downgrading to Dovecot 2.2.29.1/Pigeonhole 0.4.16 is OK.
When running pigeonhole 0.4.17 & 0.4.18, commenting the "if duplicate {}" block restores the expected behaviour.
Looks like a bug that appeared in 0.4.17? Am I correct?
Possibly. Will back on this later. Likely tomorrow.
Regards,
Stephan.