From owner-freebsd-questions Thu Apr 11 16:53:55 2002 Delivered-To: freebsd-questions@freebsd.org Received: from wonkity.com (wonkity.com [63.93.4.4]) by hub.freebsd.org (Postfix) with ESMTP id 4A0D537B404 for ; Thu, 11 Apr 2002 16:53:53 -0700 (PDT) Received: from wonkity.com (localhost.wonkity.com [127.0.0.1]) by wonkity.com (8.12.1/8.11.6) with ESMTP id g3BNrnuF001909; Thu, 11 Apr 2002 17:53:49 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.12.1/8.12.1/Submit) with ESMTP id g3BNrnAt001906; Thu, 11 Apr 2002 17:53:49 -0600 (MDT)?g (envelope-from wblock@wonkity.com) Date: Thu, 11 Apr 2002 17:53:49 -0600 (MDT) From: Warren Block To: Eduardo Viruena Silva Cc: freebsd-questions@FreeBSD.ORG Subject: Re: spam In-Reply-To: <20020411003357.J56452-100000@Gina.esfm.ipn.mx> Message-ID: 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 On Thu, 11 Apr 2002, Eduardo Viruena Silva wrote: > I have notice that all the spam I receive is always sent to > someone else but me. > > Is there a way of filter all the mail that is not destined to me? Install procmail and add this recipe to your .procmailrc file. It will redirect mail not addressed to you to a spam folder. (This does not catch a lot of spam for me any more; most spams that make it past my sendmail access.db are addressed to me.) I didn't create this, just snarfed it off Usenet quite a while back: # Mail not addressed to me. :0 * $!^((Resent-|Apparently-)?(To|Cc|Bcc)):.*${LOGNAME} $MAILDIR/Spam-folder -Warren Block * Rapid City, South Dakota USA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message