Mail migration problem

Alex JOST jost+lists at dimejo.at
Mon Jun 24 09:43:46 EEST 2019


Am 21.06.2019 um 16:58 schrieb Adam Raszkiewicz via dovecot:
> I’m trying to migrate mdbox to maildir based on https://wiki.dovecot.org/Migration/MailFormat
> 
> 
>    *   Modified dovecot.conf and set mail_location=maildir:/tmp/destination/mailboxes/
>    *   Then I had run
> 
> /mnt/testmail/bin/dsync -Dv -u user at domain.com<mailto:user at domain.com> mirror mdbox:/source/mailboxes/user at domain.com<mailto:/source/mailboxes/user at domain.com>
> 
> but that did nothing. Then I have
> 
> 
>    *   Modified dovecot.conf and set mail_location=mdbox:/source/mailboxes
>    *   Then I had run
> 
> /mnt/testmail/bin/dsync -Dv -u user at domain.com<mailto:user at domain.com> mirror mdbox:/tmp/destination/mailboxes/user at domain.com<mailto:/source/mailboxes/user at domain.com>
> 
> that copied over user at domain.com<mailto:user at domain.com> mailbox from the source to the destination location. As that was working I have tried to run
> 
> 
> /mnt/testmail/bin/dsync -Dv -u user at domain.com<mailto:user at domain.com> mirror maildir:/tmp/destination/mailboxes/user at domain.com<mailto:/source/mailboxes/user at domain.com>
> 
> but that got an error:
> 
> dsync(user at domain.com): Debug: Namespace inbox: type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:/mnt/testmail/mailboxes
> dsync(user at domain.com): Error: User initialization failed: Namespace '': Unknown mail storage driver maildir
> 
> First problem is that based on example #2 from above provided syntax in https://wiki.dovecot.org/Migration/MailFormat is incorrect or for some reason is not working for me as it should for example #1.
> Second issue is not recognizing maildir format – what about that? Docecot has some missing libraries?

Does your mail user have write access for this directory?

-- 
Alex JOST


More information about the dovecot mailing list