From owner-freebsd-questions@freebsd.org Thu Jul 2 14:32:13 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 477E0993DC4 for ; Thu, 2 Jul 2015 14:32:13 +0000 (UTC) (envelope-from us.navy@outlook.com) Received: from BAY004-OMC2S7.hotmail.com (bay004-omc2s7.hotmail.com [65.54.190.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3561120EC for ; Thu, 2 Jul 2015 14:32:13 +0000 (UTC) (envelope-from us.navy@outlook.com) Received: from BAY182-W67 ([65.54.190.124]) by BAY004-OMC2S7.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Thu, 2 Jul 2015 07:32:08 -0700 X-TMN: [GlAsALRfVfRAowDXmIxNqDf/AEeAI3XI] X-Originating-Email: [us.navy@outlook.com] Message-ID: From: "Lt. Commander" To: 'Polytropon' CC: "freebsd-questions@freebsd.org" Subject: RE: Script question Date: Thu, 2 Jul 2015 09:32:07 -0500 Importance: Normal In-Reply-To: References: , , <20150615015516.b3ea7633.freebsd@edvax.de>, <2609852.Pc7nSdcYla@desk8.phess.net>, , , <20150622033037.6cfd270d.freebsd@edvax.de>, Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 02 Jul 2015 14:32:08.0060 (UTC) FILETIME=[DFDC4BC0:01D0B4D3] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jul 2015 14:32:13 -0000 =0A= > -------------------------------------------------------=0A= > Bingo! You got it. Works fine.=0A= >=0A= > Funny tho=2C I have used that little sh shell intro for years to lead int= o=0A= > various scripts. This is the first time it didn't work as I had it.=0A= >=0A= > Oh=2C well... now it's fixed and that's all that counts.=0A= >=0A= > Once again many thanks for the help!!=0A= >=0A= > --Jason=0A= >=0A= >=0A= > --=0A= -------------------------------------------------------------=0A= =0A= I received some excellent help on straightening out my scripts=2C but here= =3Bs the reason I need the script and it's maddening that I should even nee= d it if procmail could get it right or my recipes worked. Spamass is doing = a fine job of IDing spam=2C however I've tried all of the recipes to catch = emails above the threshold of 6 to no avail on way too many spams. Below fo= llows an example:=0A= =0A= =A0First=2C spamass reports:=0A= X-Spam-Flag YES=0A= X-Spam-Status YES=2C hits=3D77.60 required=3D6.00=0A= =0A= This rules are not catching them though and get on through:=0A= ## spam=0A= :0:=0A= * ^X-Spam-Status: YES=0A= $SPAM=0A= =0A= ## spam rule=0A= :0:=0A= * ^X-Spam-Status:(.*\<)?YES=0A= $SPAM=0A= =0A= ## New spam rule=0A= :0:=0A= * ^.*(shortcircuit=3Dspam)=0A= $SPAM=0A= =0A= ## Test #2 Catch spam tagged by sa-milter=0A= :0:=0A= * ^(X-Spam-Status: Yes)|(X-Spam-Flag: YES)=0A= $SPAM=0A= =0A= I don't know what's wrong but certainly need a better set of rules I guess = instead of the patch script to snag IPs the "high spams" produce.=0A= =0A= Anyone with any ideas?=0A= =0A= Thanks=2C=0A= /Jason =