Re: Extract emails from a text file

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Paul Dickson
Date:  
To: Main PLUG discussion list
CC: lmwlists
Subject: Re: Extract emails from a text file
On Mon, 24 Jul 2006 19:00:56 -0700, Leslie Williams wrote:

> I have an imap server at home to handle my email. Here is how things
> normally work:
>
> fetchmail -> postfix -> procmail -> cyrus-imap -> thunderbird
>
> I made a typo when I was editing my ~/.procmailrc file, and as a result
> all emails that didn't get filtered before the typo got put into a
> single text file in my home directory.
>
> Any ideas on how I can get these emails back into imap? I've tried
> fiddling with both postfix and procmail as well as moving the file into
> thunderbird's local folders. So far nothing has worked.


Check out the formail command. It can parse the mailbox file.

    -Paul


---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss