From owner-freebsd-questions@FreeBSD.ORG Sat Jun 13 00:18:54 2015 Return-Path: Delivered-To: freebsd-questions@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 41DE813E for ; Sat, 13 Jun 2015 00:18:54 +0000 (UTC) (envelope-from olivier2553@gmail.com) Received: from mail-ig0-x235.google.com (mail-ig0-x235.google.com [IPv6:2607:f8b0:4001:c05::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0B77C863 for ; Sat, 13 Jun 2015 00:18:54 +0000 (UTC) (envelope-from olivier2553@gmail.com) Received: by igbhj9 with SMTP id hj9so21702799igb.1 for ; Fri, 12 Jun 2015 17:18:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=jNW9RKakJXRkI0pdSIIIxuW/UV9UScC+D2EzD+0XJp0=; b=T5vx8rvUemrh1lrmbkebdKW0rDzL3HSMftOozcOEHTvqOX/vCoo5imzsJgV1saiH/V ND5Uj3B0nYZtGwdQaQ86XjrHQYZsRL44yfhKKRYxPuEyZM9wjc8ZBlh3qm6UPgQohAO2 CcN8SJ96RUfJYI7QwlAp561JhuLh7oq4DxvUupR5I+5gdR9Ifwax2q+L8FWFZq74ZRJK BHbHZEHGrPiv1uhq4wvEGrxF+34ciwwDFs0JUmlA6mTjPUzkTbA7t+gxix0LboouHnWT +Zr2kWgijyrC+saDtufiTKVK5vW4MFpmQLPvNlr/FemnuWAgTyun8dHSrQSOkOdyVmcQ Rdkw== MIME-Version: 1.0 X-Received: by 10.50.117.106 with SMTP id kd10mr7558161igb.24.1434154733304; Fri, 12 Jun 2015 17:18:53 -0700 (PDT) Sender: olivier2553@gmail.com Received: by 10.107.47.66 with HTTP; Fri, 12 Jun 2015 17:18:53 -0700 (PDT) In-Reply-To: References: Date: Sat, 13 Jun 2015 07:18:53 +0700 X-Google-Sender-Auth: MJ9kJI3sMwQg8dqWpdcfWzf3TIY Message-ID: Subject: Re: Script question From: Olivier Nicole To: "Lt. Commander" Cc: "freebsd-questions@freebsd.org" , "sageame@sageweb.net" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: Sat, 13 Jun 2015 00:18:54 -0000 Jason, > I would like to be able to scan the daily maillog with a script at midnig= ht to extract a list by selecting spam recognized and contained using the c= onstant "score=3D(greater than x) and from that a list of just the IPs whic= h will be placed in a spam file as part of a spam system here. Am tired of = some getting past spamass even though it exceeds a reasonable tag level. > > I do know how to extract just the IP from a line in the log, but not sure= what the syntax should be to first ID the "score=3D > I hope this has been presented clear enough to gather some help on this t= ask. > > Thanks, > Jason > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg"