Pigeonhole / Bug with "duplicate" ?

Stephan Bosch stephan at rename-it.nl
Thu Apr 27 02:10:11 EEST 2017


Op 4/25/2017 om 9:23 PM schreef Stephan Bosch:
> 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 at 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.

I can reproduce it. It doesn't make much sense to me yet. It only
happens in the interaction between duplicate and imap4flags, either
extension on its own seems to work fine.

Investigating...


Regards,

Stephan.


More information about the dovecot mailing list