[ale] Rebuilding an INBOX

tpike at teepee-sw.com tpike at teepee-sw.com
Thu Apr 15 15:50:27 EDT 2010


Did anyone get back to you on this?

The 'formail' command will be your friend here.

Something along the lines of:

cat mailbox_file | formail -s procmail alt_procrcfile

Create an alternate procmailrc file that has a different top level
destination so you don't overwrite the folders you want to keep.

todd..

> This may be an odd question but I accidentally erased every message in
> my INBOX on IMAP.   Not to fear, I store a backup copy of each email
> before it gets processed by procmail.
>
> Here is the problem.  I have a 450M mailbox format file and I have many
> procmail recipes.  I want to process this file against procmail so that
> the final INBOX can be rebuilt and then I can copy those messages back
> into my INBOX.  Any suggestions?
>
> Chris
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>



More information about the Ale mailing list