procmail
[Top] [All Lists]

Re: Converting from MH to mbox?

2004-02-09 08:51:20
Dallman's pretty much said what I was thinking. Instead of concatenating the lot and trying to get formail -des to guess where one file ended and the next began, let formail know where the boundaries were.

And -a Date: won't help; just let formail generate a From_ line with the current date and time.

In sh syntax,

for message in /path/tp/MH/*
do formail < $message
done >> newbox

By default, formail will make sure there are From_ headers and trailing blank lines and will escape any occurrences of ^From( ) in the bodies.


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail