Date: Wed, 17 Aug 2005 14:15:12 -0400 (EDT) From: Matt Juszczak <matt@atopia.net> To: Giorgos Keramidas <keramida@ceid.upatras.gr> Cc: freebsd-questions@freebsd.org Subject: Re: OT: Removal of old 14+ mail from mbox-based mail spool (not maildir) Message-ID: <20050817141341.D88381@neptune.atopia.net> In-Reply-To: <20050817171722.GB1295@flame.pc> References: <43034EA2.4000206@atopia.net> <43035504.4020300@daleco.biz> <43035EB3.7080300@atopia.net> <20050817171722.GB1295@flame.pc>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050817141341.D88381>
