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

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


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: 700d8d1d822d37535393951156cc3ef9e2f45a4b
      https://github.com/dovecot/core/commit/700d8d1d822d37535393951156cc3ef9e2f45a4b
  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