[Dovecot] mbox to maildir batch conversion

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Fri Jan 30 10:11:07 EET 2009


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

On Thu, 29 Jan 2009, Mike Hobbs wrote:

> I'm upgrading my mail server from UW to Dovecot and I'd like to convert from 
> mbox to maildir.  I've successfully convert myself and a few other users with 
> the mb2md script.  All is well.

At http://wiki.dovecot.org/Migration/MailFormat Julian Fitzell provides 
another variant of this script.

I added another option "-o" to it, which inherits the ownership from the 
directory the item is created in.

http://www2.inf.fh-bonn-rhein-sieg.de/skdata/mb2md-2008-11-12.tgz

Because the script does not use Dovecot, you must know the destination 
path before hand.

===============

On the same Wiki page there is the note:

"Convert plugin
Dovecot has a plugin which allows you to convert between any two mailbox 
formats supported by Dovecot. The conversion is done when the user logs in 
for the first time, or using convert-tool binary. See Plugins/Convert."

Honestly, the phrase "using convert-tool binary" catches my eye the first 
time. Maybe you check it out??

Bye,

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQEVAwUBSYK2H3WSIuGy1ktrAQKSmwgAlpHsD1pNEU0t0/f9wnDWaEdK8Pdhtost
eBuzWyxBA8S8kDC6SvNELby1GtRWky+sAPcosk9X9fmy3/FYXJl7EOSXMfgOFbqK
SR8WyDzGUkCyZyYzDBOtq36ZdAQtcghduP9bks03pCiwJBjQZ2+uQeFJjchnvkPy
9fsiM77OKK5ZEOCyUEEiNshtftoHRLFWkf7OBm2obCfw0s+48lA/fr69j3V/BK6+
fYd65tfN/6Fo9nTQuTnomJ2yrx5pGQmZBOcX2f+X22TuU3TuJ9P8klyvu/IDI8D0
JHoiOcAcaOqzWGJyMQON0m0K0USba0RPbntmCzX11YYuk05nJvGOMQ==
=wSi0
-----END PGP SIGNATURE-----


More information about the dovecot mailing list