From owner-freebsd-questions Tue Jul 31 21:46:33 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mtiwmhc26.worldnet.att.net (mtiwmhc26.worldnet.att.net [204.127.131.51]) by hub.freebsd.org (Postfix) with ESMTP id BB32F37B401 for ; Tue, 31 Jul 2001 21:46:28 -0700 (PDT) (envelope-from parv@worldnet.att.net) Received: from worldnet.att.net ([32.101.235.128]) by mtiwmhc26.worldnet.att.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id <20010801044627.XXDM18077.mtiwmhc26.worldnet.att.net@worldnet.att.net>; Wed, 1 Aug 2001 04:46:27 +0000 Received: by worldnet.att.net (Postfix, from userid 1001) id C112751004; Wed, 1 Aug 2001 00:50:30 -0400 (EDT) Date: Wed, 1 Aug 2001 00:50:30 -0400 From: parv To: Klaus Steden Cc: freebsd-questions@freebsd.org Subject: Re: weird interaction between procmail and perl on 4.x ? Message-ID: <20010801005030.D27358@moo.holy.cow> Mail-Followup-To: Klaus Steden , freebsd-questions@freebsd.org References: <20010731223739.G95706@cthulu.compt.com> <20010731231059.A26373@moo.holy.cow> <20010731231021.I95706@cthulu.compt.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20010731231021.I95706@cthulu.compt.com>; from klaus@compt.com on Tue, Jul 31, 2001 at 11:10:21PM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG on Jul 31 23:46, i got this from Klaus... > > > I'm running into weird problem using the recipe file. > > > > > > -- cut -- > > > > > > ' 2>> $LOGFILE: File name too long > > > procmail: Program failure (2) of " perl -p -e ' \ > > > > > > -- cut -- > > > > > > > i have no bloody clue as to what a "john d hardin's mail sanitizer > > procmail filter" is... {: > > > > It's a pretty lengthy script, so I'll include the URL for his homepage and > hopefully avoid angry replies about hefty attachments. > > ftp://ftp.rubyriver.com/pub/jhardin/antispam/procmail-security.html > wow! that's long alright! i didn't get thru' the whole script, but from the looks of... ftp://ftp.rubyriver.com/pub/jhardin/antispam/html-trap.procmail ...$LOGFILE is first used on line 434, but set _later_ on line 455... i am not very intimate w/ procmail+perl but if $LOGFILE isn't set first, could that be the problem? also perl's print output is sent to $LOGFILE at two places ... so problem could be in between the two... yeah, just stating the obvious. if i were using the script, i would put long perl scripts in their own files... -- so, do you like word games or scrabble? - parv To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message