On 10 Oct 2017, at 3.36, Jason Kiniry <jason.kin...@gmail.com> wrote: > > Hi all, > > I've run into an issue with in-place mailbox format conversions between > mdbox and maildir and wondered if someone could assist. When using dsync to > convert a mailbox, the conversion loses a mailbox GUID and produces a > warning. This behavior seems to have been introduced between version 2.2.31 > and 2.2.32. See below for the full debug output from both versions followed > by the dovecot configuration used for both attempts. > > When I run the following: > > /usr/bin/dsync -f -D -o mail_location=mdbox:/home/blahmail/mail -u > _mainacco...@blahmail.tld -v mirror maildir:/home/blahmail/mail
Where is the Maildir coming from? Has it been used by Dovecot earlier, or is it something else? > doveadm(_mainacco...@blahmail.tld): Debug: Namespace INBOX.: > /home/blahmail/mail/mailboxes/INBOX doesn't exist yet, using default > permissions So mdbox apparently didn't exist before you ran dsync. > dsync(blahmail): Debug: brain M: Local mailbox tree: INBOX > guid=60f6d91a25fddb5983040000a19766e2 uid_validity=1507589418 uid_next=1 > subs=no last_change=0 last_subs=0 > dsync(blahmail): Debug: brain S: Local mailbox tree: INBOX > guid=e6191d3644fddb59e2040000a19766e2 uid_validity=1507589413 uid_next=2 > subs=no last_change=0 last_subs=0 But here the INBOXes already have conflicting UIDVALIDITYs. One of these was created too early. I think one of these helps: * disable quota * disable quota_clone * disable mailbox_list_index