I saw that before but there is only maildir -> mdbox but not mdbox -> maildir Did I have missed anything there? From: dovecot <dovecot-bounces at dovecot.org> on behalf of Sami Ketola via dovecot <dovecot at dovecot.org> Reply-To: Sami Ketola <sami.ketola at dovecot.fi> Date: Tuesday, June 18, 2019 at 9:58 PM To: Dovecot Mailing List <dovecot at dovecot.org> Cc: Ralph Seichter <abbot at monksofcool.net>, Odhiambo Washington <odhiambo at gmail.com> Subject: Re: mdbox to Maildir On 18 Jun 2019, at 16.59, Odhiambo Washington via dovecot <dovecot at dovecot.org<mailto:dovecot at dovecot.org>> wrote: On Tue, 18 Jun 2019 at 01:35, Ralph Seichter via dovecot <dovecot at dovecot.org<mailto:dovecot at dovecot.org>> wrote: * Odhiambo Washington via dovecot:> Is it possible? How do I do it for ALL mailboxes?This has been asked (and answered) recently; see the Dovecot Wiki. -Ralph Could you kindly point me to the exact article in the wiki, please? https://wiki.dovecot.org/Migration/MailFormat Sami -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20190619/9873e1b0/attachment-0001.html>
> On 19 Jun 2019, at 5.05, Adam Raszkiewicz <araszkiewicz at medallies.com> wrote: > > 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20190619/9e3111e8/attachment.html>
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 at domain.com mirror mdbox:/source/mailboxes/user at 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 <araszkiewicz at medallies.com<mailto:araszkiewicz at medallies.com>> wrote: 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20190620/da2bf80f/attachment-0001.html>