[Dovecot] Cyrus MailDir to Dovecot mbox

Timo Sirainen tss at iki.fi
Wed Oct 8 22:23:15 EEST 2008


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20081008/7dc164c4/attachment.bin 


More information about the dovecot mailing list