From owner-freebsd-questions@FreeBSD.ORG Wed Aug 17 18:35:33 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7576516A41F for ; Wed, 17 Aug 2005 18:35:33 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from kane.otenet.gr (kane.otenet.gr [195.170.0.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD10D43D48 for ; Wed, 17 Aug 2005 18:35:31 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from flame.pc (aris.bedc.ondsl.gr [62.103.39.226]) by kane.otenet.gr (8.13.4/8.13.4/Debian-1) with SMTP id j7HIZNoS030379; Wed, 17 Aug 2005 21:35:27 +0300 Received: from flame.pc (flame [127.0.0.1]) by flame.pc (8.13.4/8.13.4) with ESMTP id j7HIf66M001968; Wed, 17 Aug 2005 21:41:06 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by flame.pc (8.13.4/8.13.4/Submit) id j7HIf3P3001967; Wed, 17 Aug 2005 21:41:03 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Wed, 17 Aug 2005 21:41:03 +0300 From: Giorgos Keramidas To: Matt Juszczak Message-ID: <20050817184103.GA1925@flame.pc> References: <43034EA2.4000206@atopia.net> <43035504.4020300@daleco.biz> <43035EB3.7080300@atopia.net> <20050817171722.GB1295@flame.pc> <20050817141341.D88381@neptune.atopia.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050817141341.D88381@neptune.atopia.net> Cc: freebsd-questions@freebsd.org Subject: Re: OT: Removal of old 14+ mail from mbox-based mail spool (not maildir) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Aug 2005 18:35:33 -0000 On 2005-08-17 14:15, Matt Juszczak 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 () { > print > } > and when I run parse.pl manually: > > orion$ echo "Yo" | ./parse.pl > Yo > orion$ > > Weird eh? Any ideas?