[exim] Need a quick SED or PERL script

Top Page
Delete this message
Reply to this message
Author: Marc Perkel
Date:  
To: exim-users @ exim. org
Subject: [exim] Need a quick SED or PERL script
Did an email conversion last night from WU-IMAP to Dovecot and made a
mistake and need a wuick script to recover some email.

What I need to do is add some missing From lines at the start of the
message in MBOX format if the line is missing.

What I should/want to have is:

<blank line>
From ------
Return-path: -----
Envelope-to:

So - what I want to do is if the from line is missing, I want to insert
one. How do I do that?

--
Marc Perkel - marc@???

Spam Filter: http://www.junkemailfilter.com
    My Blog: http://marc.perkel.com