From: Joakim Ryden Subject: Re: Blocking mail from certain domains.... Date: Fri, 10 Oct 2003 09:20:13 -0700 Sender: linux-admin-owner@vger.kernel.org Message-ID: <200310100920.13864.jryden@thebox.our-own.net> References: <20031010085657.GC11645@fede2.tumsan.fi> <20031010110651.GB2221@yagonna.de> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <20031010110651.GB2221@yagonna.de> Content-Disposition: inline List-Id: Content-Type: text/plain; charset="iso-8859-1" To: linux-admin@vger.kernel.org On Friday 10 October 2003 04:06 am, Sven Pfeifer wrote: SP> Hi, SP> SP> urgrue wrote: SP> > i think its even easier to just put: SP> > bad_domain.com REJECT SP> > in your access table. this is usually /etc/mail/access. SP> SP> but it only works if you have all the bad_domains.tld, not for SP> admin@some-domain.tld. SP> SP> > you may need to hash that table: SP> > makemap hash /etc/mail/access.db < /etc/mail/access SP> > but i am under the impression that most sendmails these days are SP> > configured to hash tables on start, so it may be sufficient to ju= st SP> > restart sendmail. SP> SP> If i guess right, Daniel uses exim, then he can=B4t restart sendmai= l. SP> In this case i think procmail, or an exim-mailinglist would be the SP> better choice. Letting an e-mail enter into your mail system(s) instead of rejeceting = it in=20 the SMTP conversation is usually NOT a good choice. --Jo - To unsubscribe from this list: send the line "unsubscribe linux-admin" = in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html