Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Aug 2001 00:50:30 -0400
From:      parv <parv_@yahoo.com>
To:        Klaus Steden <klaus@compt.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: weird interaction between procmail and perl on 4.x ?
Message-ID:  <20010801005030.D27358@moo.holy.cow>
In-Reply-To: <20010731231021.I95706@cthulu.compt.com>; from klaus@compt.com on Tue, Jul 31, 2001 at 11:10:21PM -0400
References:  <20010731223739.G95706@cthulu.compt.com> <20010731231059.A26373@moo.holy.cow> <20010731231021.I95706@cthulu.compt.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010801005030.D27358>