procmail
[Top] [All Lists]

Re: perl script to remail contents of mbox file

2004-06-10 12:31:10
On Thu, Jun 10, 2004 at 02:41:15PM -0400, Jeff A. Earickson wrote:
Hi,

I screwed up my procmail rules yesterday and procmail delivered
ALL of my inbound email to my trash mbox file, instead of delivering
to the intended recipients.

<snip>

#!/usr/bin/perl
#
#---script to rip apart an mbox format mailbox and resend the messages.

Is this kind of like:

  cat mbox | formail -s sendmail -oi -t

?

What are the significant differences between the two?

Scott
-- 
Scott Wiersdorf
scott(_at_)perlcode(_dot_)org

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