[dovecot/core] 381d90: imapc: Fix expunges+appends in same session with i...
GitHub
noreply at github.com
Tue Apr 17 22:30:19 EEST 2018
Branch: refs/heads/master
Home: https://github.com/dovecot/core
Commit: 381d900a2d0c8a40d53a811c10607e88c9ca378e
https://github.com/dovecot/core/commit/381d900a2d0c8a40d53a811c10607e88c9ca378e
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-04-17 (Tue, 17 Apr 2018)
Changed paths:
M src/lib-storage/index/imapc/imapc-mailbox.c
Log Message:
-----------
imapc: Fix expunges+appends in same session with imapc_features=no-msn-updates
Since the EXPUNGEs were ignored, the sequence numbers weren't updated.
When a new mail arrived, the sequence number sent by the remote IMAP server
pointed to existing mails in imapc's mapping. Fix this by changing the
sequence number if the returned UID is >= next_uid.
Fixes "FETCH UID mismatch" errors.
More information about the dovecot-cvs
mailing list