[exim] Need a quick SED or PERL script

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Marc Perkel
Ημερομηνία:  
Προς: exim-users @ exim. org
Αντικείμενο: [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