[exim] Need a quick SED or PERL script

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Marc Perkel
Fecha:  
A: exim-users @ exim. org
Asunto: [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