procmail
[Top] [All Lists]

splitting emacs RMAIL (Babyl) file w/ formail

2001-07-10 23:54:07

Hi all,

My reading of the formail man page leads me to believe that I can
produce a standard mailbox file from an emacs RMAIL (Babyl) file using
a command line like:

    formail -Bds < RMAIL > mbox.emacs


The emacs 'rmail' package also has a function called 'unrmail' which
converts an RMAIL file into mailbox format.  When I compare what I
obtain from 'unrmail' with the output of the above 'formail' command,
the two outputs are very different.  The output of emacs 'unrmail'
definitely appears to be more correct.  For example, the formail
output begins with:

    From foo(_at_)bar  Tue Jul 10 17:51:09 2001
    Summary-line:  ...

but the email address "foo(_at_)bar" does not occur in the RMAIL input
file.

Am I missing something here?

If you're wondering why I don't just use 'unrmail', I want to use
formail to do more sophisticated processing of my RMAIL mailbox
('unrmail' *only* converts the entire RMAIL file to inbox format).
However, first I would like to be assured that formail is robust and
reliable when processing emacs RMAIL/Babyl files.

Thank You,
    Wayne

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

<Prev in Thread] Current Thread [Next in Thread>