From owner-freebsd-questions Tue Feb 4 7:20:45 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 59A1937B401 for ; Tue, 4 Feb 2003 07:20:44 -0800 (PST) Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id C33A043F93 for ; Tue, 4 Feb 2003 07:20:43 -0800 (PST) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com[24.147.188.198]) by rwcrmhc51.attbi.com (rwcrmhc51) with ESMTP id <2003020415204305100huncje>; Tue, 4 Feb 2003 15:20:43 +0000 Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [24.147.188.198] (may be forged)) by be-well.ilk.org (8.12.6/8.12.6) with ESMTP id h14FKf79003197; Tue, 4 Feb 2003 10:20:41 -0500 (EST) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: (from lowell@localhost) by be-well.ilk.org (8.12.6/8.12.6/Submit) id h14FKflI003194; Tue, 4 Feb 2003 10:20:41 -0500 (EST) X-Authentication-Warning: be-well.ilk.org: lowell set sender to freebsd-questions-local@be-well.ilk.org using -f To: Steven Lake Cc: questions@FreeBSD.ORG Subject: Re: Nuking unwanted mail via fetchmail and sendmail References: From: Lowell Gilbert Date: 04 Feb 2003 10:20:41 -0500 In-Reply-To: Message-ID: <44wukghy2e.fsf@be-well.ilk.org> Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 Steven Lake writes: > HI all. Looking for a simple way to nuke unwanted incoming email. > Let me explain further. What I'm having trouble with is I keep getting > virus infected emails from a "big@boss.com" coming into my email. That > makes for a total pain for me when I try to download it because Norton > kills the mail transfer as soon as it sees the virus thus causing me to > have to login, nuke the infected mail, logout, then download my mail like > normal. > > What I'm currently using is Fetchmail in combination with Sendmail > 8.12 on my system. Fetchmail goes out and grabs the mail off of my 3 > primary email accounts, then dumps them into my user account on my box. > What I'd like to do is to have sendmail or fetchmail (either one is fine) > immediately nuke any mail that comes in from these addresses or domains so > that I never have to see it. > > Anyone know how to do this? The simpler the solution, the better. If it's actually the envelope "from" that you're keying on, you can do that pretty simply with the sendmail 'access' file. That approach doesn't scale particularly well, though, so if you're going to want to continue tuning anti-spam measures, jumping into spamassassin or some other full-fledged solution is worthwhile. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message