Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Aug 2005 21:41:03 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Matt Juszczak <matt@atopia.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: OT: Removal of old 14+ mail from mbox-based mail spool (not maildir)
Message-ID:  <20050817184103.GA1925@flame.pc>
In-Reply-To: <20050817141341.D88381@neptune.atopia.net>
References:  <43034EA2.4000206@atopia.net> <43035504.4020300@daleco.biz> <43035EB3.7080300@atopia.net> <20050817171722.GB1295@flame.pc> <20050817141341.D88381@neptune.atopia.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2005-08-17 14:15, Matt Juszczak <matt@atopia.net> wrote:
> >procmail ruleset, as long as you have tested the ruleset and found that
> >it works exactly like you want it to work.
>
> 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$

Is the current working directory in your PATH?

> 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?20050817184103.GA1925>