procmail
[Top] [All Lists]

Re: perl script to remail contents of mbox file

2004-06-10 12:50:36
On Thu, Jun 10, 2004 at 01:21:43PM -0600, Scott Wiersdorf wrote:
On Thu, Jun 10, 2004 at 02:41:15PM -0400, Jeff A. Earickson wrote:

#!/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?

In the first, somebody never bothered to read "man procmail"
(search for "formail") or to search this list's archives.  ;->

I would think he'd want to use something close to the man page
than re-initiating sendmail, though:

  formail -s procmail < some_mbox_not_in_procmail_output_pathway

-- 
dman

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