[Dovecot] Cyrus MailDir to Dovecot mbox

CJ Keist cj.keist at colostate.edu
Thu Oct 9 17:35:10 EEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Timo,
   Thanks again for the tip on the convert-tool.  That did work to
convert this guys 121K worth of messages.  The built in convert plugin
with dovecot was not able to do it.  I believe due to the fact that this
guy has folders with messages and then sub-folders with more messages.
I'm migrating to mbox format which doesn't allow that feature.  The
convert-tool showed me this and it was easy fix to just move all
sub-folders  up to a flat directory structure.  Then the convert-tool
ripped right through all the messages.


Timo Sirainen wrote:
> On Tue, 2008-10-07 at 15:02 -0600, CJ Keist wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Timo,
>>     Thanks.  The cyrus2dovecot looks to have worked.  So if I understand
>> the process I now just move the MailDir folder that was created to the
>> users home directory on our mail server.  I will try the dovecot convert
>> plugin.  Just make sure I'm doing this correct in the config file:
> 
> If you do it only once, you don't need to use convert plugin. There's
> also a convert-tool binary included.
> 
>> mail_location = mbox:~/:INBOX=/userM/mail/%u
>> protocol imap {
>>   mail_plugins = convert
>> }
>> plugin {
>>   convert_mail = Maildir:~/Maildir:INBOX=/userM/mail/%u
>> }
>>
>> Is this correct? The example on the website only shows how to convert
>> from mbox to MailDir.
> 
> That looks also correct.
> 

- --
C. J. Keist                     Email: cj.keist at colostate.edu
UNIX/Network Manager            Phone: 970-491-0630
Engineering Network Services    Fax:   970-491-5569
College of Engineering, CSU
Ft. Collins, CO 80523-1301

All I want is a chance to prove 'Money can't buy happiness'
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFI7haeA29OFr7C6jcRAkGIAJ9WhyE0Q20Gwymb7C9OcAI6ECGOSgCgm0TO
SPGT7Li6m5m6neusNvpEtqA=
=kCOX
-----END PGP SIGNATURE-----


More information about the dovecot mailing list