Getting "next message's offset" was broken if a new message had been added recently. This broke message size calculations.
Getting "next message's offset" was broken if a new message had been added
recently. This broke message size calculations.

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