[Dovecot] Re: mbox to maildir conversion - good idea regarding Outlook?

Timo Sirainen tss at iki.fi
Mon Feb 20 18:54:18 EET 2006


On Mon, 2006-02-20 at 16:28 +0100, Gerhard Hofmann wrote:
> DiskMan wrote:
> > To: Gerhard Hofmann
> > Funny you should ask... I just swung my box over from MBOX to MAILDIR and to
> > be honest it works like a top. 
> 
> I suppose you have used this script
>    http://batleth.sapienti-sat.org/projects/mb2md/
> as described in the Dovecot WIKI for the conversion?

BTW. Nowadays Dovecot includes its own conversion tool also, which might
work better than mb2md. Usage is something like:

src/plugin/convert-tool user /home/user mbox:/home/user/mail:INBOX=/var/mail/%u maildir:/home/user/Maildir

It converts all mailboxes and you can convert between any two formats.
Everything is read and written through Dovecot's normal functions, so it
can use existing indexes to speed things up, and it also writes the
indexes to destination mailboxes while converting.

convert plugin can also be run as imap/pop3/lda plugin where it converts
the mailboxes the first time user logs in or new mail is delivered to
user.

After conversion the old mail directory is renamed to mail-converted
directory (eg. /home/user/mail -> /home/user/mail-converted).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20060220/6687b5ec/attachment.pgp


More information about the dovecot mailing list