I'd like a way to convert all my mailboxes from mdbox to Maildir.
Is it possible? How do I do it for ALL mailboxes?
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", grep ^[^#] :-)
On Tue, 18 Jun 2019 at 01:35, Ralph Seichter via dovecot < dovecot@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?
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", grep ^[^#] :-)
On 18 Jun 2019, at 16.59, Odhiambo Washington via dovecot <dovecot@dovecot.org> wrote:
On Tue, 18 Jun 2019 at 01:35, Ralph Seichter via dovecot <dovecot@dovecot.org <mailto:dovecot@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 <https://wiki.dovecot.org/Migration/MailFormat>
Sami
I saw that before but there is only maildir -> mdbox but not mdbox -> maildir
Did I have missed anything there?
From: dovecot <dovecot-bounces@dovecot.org> on behalf of Sami Ketola via dovecot <dovecot@dovecot.org> Reply-To: Sami Ketola <sami.ketola@dovecot.fi> Date: Tuesday, June 18, 2019 at 9:58 PM To: Dovecot Mailing List <dovecot@dovecot.org> Cc: Ralph Seichter <abbot@monksofcool.net>, Odhiambo Washington <odhiambo@gmail.com> Subject: Re: mdbox to Maildir
On 18 Jun 2019, at 16.59, Odhiambo Washington via dovecot <dovecot@dovecot.org<mailto:dovecot@dovecot.org>> wrote:
On Tue, 18 Jun 2019 at 01:35, Ralph Seichter via dovecot <dovecot@dovecot.org<mailto:dovecot@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
On 19 Jun 2019, at 5.05, Adam Raszkiewicz <araszkiewicz@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
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 <araszkiewicz@medallies.com<mailto:araszkiewicz@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
participants (4)
-
Adam Raszkiewicz
-
Odhiambo Washington
-
Ralph Seichter
-
Sami Ketola