write_seq_first/last wasn't updated correctly when appending messages, causing "messages_count too large" errors.
write_seq_first/last wasn't updated correctly when appending messages,
causing "messages_count too large" errors.

damoxc/dovecot,damoxc/dovecot,damoxc/dovecot,damoxc/dovecot,damoxc/dovecot