procmail
[Top] [All Lists]

Re: converting smtp mail text to mbox?

2001-12-15 12:23:53
Louis asked,

| I have a mailbox in an odd  format. Well, smtp mail text format. Turns
| out I hosed a recipe and dumped  a couple days worth of mail into this
| file. The only  difference as far as  I can tell is  that messages are
| not  separated  by the  "From  someone(_at_)somewhere  day mon  date  time"
| header. can procmail or formail translate this file to mbox format? it
| contains about 80 messages, or I'd just do it by hand.

If it has SMTP dialog in it, this won't help, but if the only difference is
the lack of postmark lines, try this:

 formail -a Date: -des <sourcefile >newmbox



_______________________________________________
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>