Dovecot migration via dsync : mail_location problem (INBOX) ?

Sami Ketola sami.ketola at dovecot.fi
Wed Dec 7 11:33:20 UTC 2016


> On 7 Dec 2016, at 12.22, Cédric ML <cedric.bassaget.ml at gmail.com> wrote:
> 
> Hello,
> 
> I'm trying to migrate mail accounts from an old dovecot 1.0.15 to a new dovecot 2.2.26.
> I've set up a master-user on old dovecot, and I run dsync on new server, like this :
> 
> # doveadm -D -o mail_fsync=never sync -R -u user at domain.tld imapc:
> 
…

> But dovecot is condigured to have ".Trash", ".Junk" etc... folders, not ".INBOX.Trash"
> I've try multiple things :
> - use namespaces for compatibility and add "-n <namespace>" in sync command, without success
> - modify the mail_location for the user, tried to add LAYOUT=fs, INBOX=<folder>, ... without success.
> 
> Can anybody help me with that please ?
> 

you can try setting imapc_prefix=INBOX and imapc_list_prefix=INBOX or maybe ‘INBOX.' 

Sami



More information about the dovecot mailing list