[Dovecot] Script to convert mboxes to maildirs?
Does anybody know of a script of a simple method of converting mbox mail stores to maildirs? I'm moving from an old pop3 system to imap and after installing about half our office with mboxes have found that mbox does not support subfolders which some people like to use.
Is there any simple way of converting? I can go to each individual account and "manually" convert swaping data around with Firefox, but I was wondering if there was an easier way.
Thanks.
Discover Yahoo! Stay in touch with email, IM, photo sharing and more. Check it out! http://discover.yahoo.com/stayintouch.html
On Monday 30 May 2005 18:12, Mark Winslow wrote:
Does anybody know of a script of a simple method of converting mbox mail stores to maildirs? I'm moving from an old pop3 system to imap and after installing about half our office with mboxes have found that mbox does not support subfolders which some people like to use.
http://www.google.co.uk/search?hl=en&ie=ISO-8859-1&q=mbox2maildir&btnG=Google+Search&meta=
I think there are a few to choose from.
Is there any simple way of converting? I can go to each individual account and "manually" convert swaping data around with Firefox, but I was wondering if there was an easier way.
Thanks.
Discover Yahoo! Stay in touch with email, IM, photo sharing and more. Check it out! http://discover.yahoo.com/stayintouch.html
HTH
Dominic GoodforBusiness.co.uk I.T. Services for SMEs in the UK.
Am Montag 30 Mai 2005 19:12 schrieb Mark Winslow:
Is there any simple way of converting? I can go to
Yes, formail together with procmail will do.
Greetings,
Gunter
-- +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
- http://aachen.uni-dsl.de/ - Der direkte Draht in's Hochschulnetz! + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Smoke was coming out of the stricken piano. The Librarian's hands were walking through the keys like Casanunda (- discworld's second greatest lover -) in a nunnery. -- (Terry Pratchett, Soul Music) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+PGP-verschlüsselte Mails bevorzugt! +
http://batleth.sapienti-sat.org/projects/mb2md/
Google is your friend. I used this to convert UW mbox to dovecot IMAP on my OpenBSD box last christmas. Worked like a charm.
On 5/30/05, Gunter Ohrner G.Ohrner@post.rwth-aachen.de wrote:
Am Montag 30 Mai 2005 19:12 schrieb Mark Winslow:
Is there any simple way of converting? I can go to
Yes, formail together with procmail will do.
Greetings,
Gunter
-- +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
- http://aachen.uni-dsl.de/ - Der direkte Draht in's Hochschulnetz! + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Smoke was coming out of the stricken piano. The Librarian's hands were walking through the keys like Casanunda (- discworld's second greatest lover -) in a nunnery. -- (Terry Pratchett, Soul Music) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+PGP-verschlüsselte Mails bevorzugt! +
-- I know too much and yet not enough
I use a combination of mb2md and a bash script to mass convert a server full UW accounts to Maildir for dovecot (as well as a cli php script to convert passwd/shadow to a mysql database). I have converted thousands of accounts this way.
Regards Andrew
On Mon, 2005-05-30 at 13:37 -0600, Whyzzi wrote:
http://batleth.sapienti-sat.org/projects/mb2md/
Google is your friend. I used this to convert UW mbox to dovecot IMAP on my OpenBSD box last christmas. Worked like a charm.
On 5/30/05, Gunter Ohrner G.Ohrner@post.rwth-aachen.de wrote:
Am Montag 30 Mai 2005 19:12 schrieb Mark Winslow:
Is there any simple way of converting? I can go to
Yes, formail together with procmail will do.
Greetings,
Gunter
-- +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
- http://aachen.uni-dsl.de/ - Der direkte Draht in's Hochschulnetz! + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Smoke was coming out of the stricken piano. The Librarian's hands were walking through the keys like Casanunda (- discworld's second greatest lover -) in a nunnery. -- (Terry Pratchett, Soul Music) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+PGP-verschlüsselte Mails bevorzugt! +
-- Andrew Hutchings (A-Wing) Linux Guru - Netserve Consultants Ltd. - www.domaincity.co.uk Admin - North Wales Linux User Group - www.nwlug.org.uk BOFH excuse 374: It's the InterNIC's fault.
On Mon, 30 May 2005, Mark Winslow wrote:
Does anybody know of a script of a simple method of converting mbox mail stores to maildirs? I'm moving
I did so with mb2md: http://batleth.sapienti-sat.org/projects/mb2md/ about 500 users.
There were some glitches, but I do not remember, which ones exactly. But it was an older release. For the _few_ problems (I counted the mails in the mboxes and the target MailDir's) I used UW-Imap's mailutil; latter one copies the mails using IMAP/POP only and does not process the files directly.
Bye,
-- Steffen Kaiser
participants (6)
-
Andrew Hutchings
-
Dominic Marks
-
Gunter Ohrner
-
Mark Winslow
-
Steffen Kaiser
-
Whyzzi