Ok, so I have used my brain and came up with that:
- Created new directory and copied over original dovecot to that location as /tmp/destination
- Spawned that dovecot as dovecot-test
- Modified dovecot.conf and set mail_location=maildir:/tmp/destination/mailboxes/
- Then I had run
/mnt/testmail/bin/dsync -D -v -u user@domain.com mirror mdbox:/source/mailboxes/user@domain.com
based on description from there: https://wiki.dovecot.org/Migration/MailFormat but first that doesn’t do anything (/tmp/destination/mailboxes is empty) and on another hand I don’t think so dsync is reading modified dovecot.conf as is not creating maildir format mailbox converted from mdbox format provided as the source location.
Thoughts?
~Adam
On 19 Jun 2019, at 5.05, Adam Raszkiewicz
I saw that before but there is only maildir -> mdbox but not mdbox -> maildir Did I have missed anything there?
There is no direct example on how to do just that but you can use your brain and modify the mbox -> maildir example a bit.
Sami