[TAG] maildir to mbox conversion

Benjamin A. Okopnik ben at linuxgazette.net
Mon Apr 25 05:02:23 MSD 2005


On Sun, Apr 24, 2005 at 07:54:54AM -0700, dups at neanderthal.ws wrote:
> 
> Hello TAGsters,
> 
> Formail will take care of inserting the missing 'From ' lines - 
> 
> $ cat /my_mail_dir/* | formail -ds > mbox

Well done, Andrew! I haven't tested it with any real maildir content,
but it looks good; on a faked-up message I tried, it used the 'From:'
header to generate the 'From ' - which is, I think, the best thing to do
under the circumstances.


* Ben Okopnik * Editor-in-Chief, Linux Gazette * http://linuxgazette.net *




More information about the TAG mailing list