dovecot-ceph-plugin icon indicating copy to clipboard operation
dovecot-ceph-plugin copied to clipboard

[imap append] crash if append is interrupted.

Open jrse opened this issue 2 years ago • 1 comments

if append gets interrupted, imap process fails with panic: file mail-index-transaction-update.c: line 345 (mail_index_expunge_last_append): assertion failed: (seq == t->last_new_seq)

jrse avatar Apr 05 '22 19:04 jrse

  • in case of abort, the ostream was not correctly closed
  • in case of abort, the index entry only need to be removed if already written to the index.

jrse avatar Apr 05 '22 19:04 jrse