If we synced the mbox while saving the message (happens only with quota plugin loaded), we could have used a wrong append offset (calculated before sync) which caused "Unexpectedly lost From-line" errors, and depending on the sync either extra NUL lines or Content-Length header written over existing mails (quite unlikely).
If we synced the mbox while saving the message (happens only with quota
plugin loaded), we could have used a wrong append offset (calculated before
sync) which caused "Unexpectedly lost From-line" errors, and depending on
the sync either extra NUL lines or Content-Length header written over
existing mails (quite unlikely).

--HG--
branch : HEAD

jkerihuel/dovecot,jwm/dovecot-notmuch,dscho/dovecot,dscho/dovecot,dscho/dovecot,jkerihuel/dovecot,dscho/dovecot,jkerihuel/dovecot,jwm/dovecot-notmuch,jkerihuel/dovecot,jwm/dovecot-notmuch,jwm/dovecot-notmuch,jkerihuel/dovecot,jwm/dovecot-notmuch,dscho/dovecot