From owner-freebsd-questions Tue Jul 31 22:30:59 2001 Delivered-To: freebsd-questions@freebsd.org Received: from kobold.compt.com (TBextgw.compt.com [209.115.146.18]) by hub.freebsd.org (Postfix) with ESMTP id 5CFDB37B403 for ; Tue, 31 Jul 2001 22:30:57 -0700 (PDT) (envelope-from klaus@kobold.compt.com) Date: Wed, 1 Aug 2001 01:30:52 -0400 From: Klaus Steden To: parv Cc: freebsd-questions@FreeBSD.ORG Subject: Re: weird interaction between procmail and perl on 4.x ? Message-ID: <20010801013052.R95706@cthulu.compt.com> References: <20010731223739.G95706@cthulu.compt.com> <20010731231059.A26373@moo.holy.cow> <20010731231021.I95706@cthulu.compt.com> <20010801005030.D27358@moo.holy.cow> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20010801005030.D27358@moo.holy.cow>; from parv_@yahoo.com on Wed, Aug 01, 2001 at 12:50:30AM -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 > > > > 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 > > if i were using the script, i would put long perl scripts in their own > files... > yeah, that's what i did, and to great success. although you'd never know that anyone else had encountered this. this bug has actually been around for a while ... searching through the archives for the sanitizer scripts found me this ... http://www.spconnect.com/pipermail/esa-l/2001q3/000603.html and i followed the guy's advice. i guess perl on freebsd doesn't like command lines that immense. the mime one is almost 500 lines (as a separate perl script, but with no extra line padding), and the other two long perl segments didn't do any better. cutting them into individual files was much more effective. :> peace, Klaus To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message