OT: Removal of old 14+ mail from mbox-based mail spool (not maildir)

Matt Juszczak matt at atopia.net
Wed Aug 17 18:15:13 GMT 2005


> procmail ruleset, as long as you have tested the ruleset and found that
> it works exactly like you want it to work.
>
> - Giorgos

I'm actually trying to write a script with formail, but its being 
annoying:

orion$ formail -s "parse.pl" < Spam
parse.pl: 3: Syntax error: ")" unexpected
parse.pl: 3: Syntax error: ")" unexpected
parse.pl: 3: Syntax error: ")" unexpected
orion$


parse.pl is:

#!/usr/bin/perl

while (<STDIN>) {
         print
}




and when I run parse.pl manually:

orion$ echo "Yo" | ./parse.pl
Yo
orion$



Weird eh?  Any ideas?


More information about the freebsd-questions mailing list