From owner-freebsd-questions Mon May 29 0:55:14 2000 Delivered-To: freebsd-questions@freebsd.org Received: from gw.Adl.USSR.net (digita1.lnk.telstra.net [139.130.137.85]) by hub.freebsd.org (Postfix) with ESMTP id 3DCCE37BC20 for ; Mon, 29 May 2000 00:55:09 -0700 (PDT) (envelope-from wabit@adl.ussr.net) Received: from localhost (wabit@localhost) by gw.Adl.USSR.net (8.10.1/8.10.1) with ESMTP id e4T7srl14166; Mon, 29 May 2000 17:24:54 +0930 (CST) Date: Mon, 29 May 2000 17:24:52 +0930 (CST) From: james To: James A Wilde Cc: FreeBSD Questions Subject: Re: Slightly offtopic - antispam file In-Reply-To: <000201bfc940$464414a0$8c0aa8c0@hk.tbv.se> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Using sendmail 8.10.1, the following line in your config.mc file; FEATURE(`access_db', `hash -o /etc/mail/access') will enable you to use /etc/mail/access file - following is an extract of mine; # makemap hash /etc/mail/access < /etc/mail/access cyberpromo.com REJECT owner-playlist@hos.com 550 Take me off mailing list! scumbags! buyme.com 550 Spammers shan't see sunlight here FREE.STEALTH.MAILER@ 550 Spam not accepted Read the sendmail/cf/README file and create a new sendmail.cf :-) - access lists are heaps kewl :-) regards james -- On Mon, 29 May 2000, James A Wilde wrote: > Date: Mon, 29 May 2000 09:34:08 +0200 > From: James A Wilde > To: FreeBSD Questions > Subject: Slightly offtopic - antispam file > > I'm having a problem with UCE from everybody_and_his_brother@earthlink.net > which my ISP is unwilling to filter away. > > They use unix mail servers. Is there some file I can put in my mail > directory which will forward all mail from *@earthlink.net to /dev/null? > I'm thinking of something similar to the .forward file, but which only > forwards mail from a certain address. > > Grateful for all help. > > mvh/regards > > James > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message