I screwed up my procmailrc file earlier today, resulting in all my mail for the last 11 hours ending up bypassing all my normal filters and being dumped in a single mail file. I don't really want to wade through 170 messages putting them in the right place.

I'm quite sure there is a way that I can take the 170 messages in the mail file and reinject them into sendmail/procmail and have the mail system pretend that they have just arrived normally over SMTP.

The question is, how? I have no idea how to actually do it, though I suspect it might involve using formail.

Anyone know how to do it ?
_________________________
Remind me to change my signature to something more interesting someday