[dovecot/core] 068555: imapc: Fix expunges+appends in same session with i...

GitHub noreply at github.com
Wed Apr 18 12:30:20 EEST 2018


  Branch: refs/heads/master-2.3
  Home:   https://github.com/dovecot/core
  Commit: 06855565c79d63e29a97abedd79681c38e551713
      https://github.com/dovecot/core/commit/06855565c79d63e29a97abedd79681c38e551713
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-04-18 (Wed, 18 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