Fixed bugs caused by recent mail-transaction-log-append refactoring.
Fixed bugs caused by recent mail-transaction-log-append refactoring.

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