NOTIFY broken in 2.2.31?
Timo Sirainen
tss at iki.fi
Fri Jun 30 18:09:31 EEST 2017
On 29 Jun 2017, at 13.27, Bojan Smojver <bojan at rexursive.com> wrote:
>
> Hi,
>
> I just updated my Dovecot to the new build in Fedora 26, which is based
> on 2.2.31. After I did that, Evolution (3.24.3) is no longer receiving
> notifications about new mail in folders other than inbox (the same
> version of Evo that worked fine against Dovecot 2.2.30.2). The only
> folder that still gets notifications is inbox.
>
> I see there have been changes to NOTIFY code in this release. What
> would you like me to send to you in order to debug this problem?
>
> When I run Evo with some debugging options turned on, I can see:
> ----------------
> [imapx:B] I/O: 'B00010 NOTIFY SET (selected (MessageNew (UID
> RFC822.SIZE RFC822.HEADER FLAGS) MessageExpunge FlagChange)) (personal
> (MessageNew MessageExpunge MailboxName SubscriptionChange))'
> [imapx:B] I/O: 'B00010 OK NOTIFY completed (0.001 + 0.000 secs).'
> ----------------
>
> So, notify setting appears to be happening and it looks pretty much the
> same as it does against version 2.2.30.2.
I was writing some further tests for NOTIFY, and looks like I misunderstood the RFC and wrote broken tests. Then I thought that NOTIFY had been broken for years, but actually I just broke it only in v2.2.31 :( Just revert this patch and it'll work: https://github.com/dovecot/core/commit/64d2efdc4b0bdf92249840e9db89b91c8dc0f3a3.patch <https://github.com/dovecot/core/commit/64d2efdc4b0bdf92249840e9db89b91c8dc0f3a3.patch>
More information about the dovecot
mailing list