
Is there a good program in Debian to convert a Maildir of mail to an mbox file? A quick search only turned up one that is part of the qmail package. I'd rather have something that doesn't conflict with my favourite MTA. -- My Main Blog http://etbe.coker.com.au/ My Documents Blog http://doc.coker.com.au/

Russell Coker <russell@coker.com.au> writes:
Is there a good program in Debian to convert a Maildir of mail to an mbox file?
A quick search only turned up one that is part of the qmail package. I'd rather have something that doesn't conflict with my favourite MTA.
Last time I just used mutt. mutt -Rf /var/mail/fred # open mbox read-only l~T # select all mail ;s /var/mail/fred2/ # save it to a maildir x # quit IIRC I was actually splitting up a bajillion-message maildir into per-month maildirs, but I was still only doing a dozen or so writes. I'm not aware of a fully automated approach. PS: may also want -nF/dev/null.

On 26 June 2013 15:15, Russell Coker <russell@coker.com.au> wrote:
Is there a good program in Debian to convert a Maildir of mail to an mbox file?
A quick search only turned up one that is part of the qmail package. I'd rather have something that doesn't conflict with my favourite MTA.
mb2md - Converting Mbox mailboxes to Maildir format mutt - text-based mailreader supporting MIME, GPG, PGP and threading ? -- Brian May <brian@microcomaustralia.com.au>

Quoting Russell Coker (russell@coker.com.au):
Is there a good program in Debian to convert a Maildir of mail to an mbox file?
You have /usr/bin/formail from the procmail package. Do: for i in new/* cur/*;do formail <"$i">> ../mbox;done Or: http://stackoverflow.com/questions/2501182/convert-maildir-to-mbox http://yergler.net/projects/one-off/maildir-to-mbox/ https://gist.github.com/nyergler/1709069 -- Cheers, Snowden is accused of giving information to "the enemy". Rick Moen He gave information to the American people. Well, now rick@linuxmafia.com we know who the enemy is. --- Steven Brust McQ! (4x80)
participants (5)
-
Brian May
-
Craig Sanders
-
Rick Moen
-
Russell Coker
-
trentbuck@gmail.com