From owner-freebsd-questions Tue Feb 4 11:10:27 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F8D537B406 for ; Tue, 4 Feb 2003 11:10:26 -0800 (PST) Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id E964743F85 for ; Tue, 4 Feb 2003 11:10:25 -0800 (PST) (envelope-from deepbsd@earthlink.net) Received: from user-119a2km.biz.mindspring.com ([66.149.10.150] helo=sylvester.dsj.net) by hawk.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 18g8Se-0007Us-00; Tue, 04 Feb 2003 11:10:24 -0800 Received: from sylvester.dsj.net (dsj@localhost [127.0.0.1]) by sylvester.dsj.net (8.12.3/8.12.3/Debian -4) with ESMTP id h14JAKLS020033; Tue, 4 Feb 2003 14:10:22 -0500 Received: (from dsj@localhost) by sylvester.dsj.net (8.12.3/8.12.3/Debian -4) id h14JAIDw020032; Tue, 4 Feb 2003 14:10:18 -0500 X-Authentication-Warning: sylvester.dsj.net: dsj set sender to deepbsd@earthlink.net using -f Date: Tue, 4 Feb 2003 14:10:18 -0500 From: "David S. Jackson" To: Steven Lake Cc: questions@FreeBSD.ORG Subject: Re: Nuking unwanted mail via fetchmail and sendmail Message-ID: <20030204191018.GB16698@sylvester.dsj.net> Reply-To: "David S. Jackson" References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i 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 Mon, Feb 03, 2003 at 03:08:17PM -0600 Steven Lake wrote: > Anyone know how to do this? The simpler the solution, the better. There are some of the same spammers that I see again and again; I don't want to even have to deal with them by hitting delete. I have a line like the following in my procmailrc: :0 * ? formail -x"From" -x"From:" | egrep -is -f $PMDIR/spammers.txt /dev/null Likewise, I have a friends file that forwards mail to my friends inbox. There are a whole bunch of names on spammers.txt now, and I don't even have to deal with those pesky folks. Oh, you can use regular expressions (as with egrep) in your spammers file. -- David S. Jackson dsj@dsj.net =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= I took a course in speed reading and was able to read War and Peace in twenty minutes. It's about Russia. -- Woody Allen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message