]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
dsync: Fix importing keywords with MAIL_TRANSACTION_SYNC flag set
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Fri, 8 Mar 2019 16:39:49 +0000 (18:39 +0200)
committerVille Savolainen <ville.savolainen@dovecot.fi>
Tue, 10 Sep 2019 07:01:54 +0000 (10:01 +0300)
commit9e314c0f692fd642d8f3bc97353c372c2700ba14
tree04bcfff435cd0246acf349f502fd104c41d21caa
parent12cdfb6aa98459c272f64ee0e7f5e63a4152e9ce
dsync: Fix importing keywords with MAIL_TRANSACTION_SYNC flag set

Reading transaction logs was handled differently depending on the
MAIL_TRANSACTION_SYNC flag. The flag was set for all transactions written
by dsync.

So for example:
 * doveadm backup mdbox:/tmp/mdbox1 # keywords imported ok
 * doveadm -o mail=mdbox:/tmp/mdbox1 backup mdbox:/tmp/mdbox2 # keywords lost
src/doveadm/dsync/dsync-mailbox-import.c