From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sven Pfeifer Subject: Re: Blocking mail from certain domains.... Date: Fri, 10 Oct 2003 13:06:51 +0200 Sender: linux-admin-owner@vger.kernel.org Message-ID: <20031010110651.GB2221@yagonna.de> References: <20031010085657.GC11645@fede2.tumsan.fi> Reply-To: Sven Pfeifer Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Content-Disposition: inline In-Reply-To: <20031010085657.GC11645@fede2.tumsan.fi> List-Id: Content-Type: text/plain; charset="iso-8859-1" To: linux-admin@vger.kernel.org Hi, urgrue wrote: > i think its even easier to just put: > bad_domain.com REJECT > in your access table. this is usually /etc/mail/access. but it only works if you have all the bad_domains.tld, not for admin@some-domain.tld. > you may need to hash that table: > makemap hash /etc/mail/access.db < /etc/mail/access > but i am under the impression that most sendmails these days are=20 > configured to hash tables on start, so it may be sufficient to just=20 > restart sendmail. If i guess right, Daniel uses exim, then he can=B4t restart sendmail. In this case i think procmail, or an exim-mailinglist would be the better choice. [...] Cheers Sven --=20 7. When I've captured my adversary and he says, "Look, before you kill me, will you at least tell me what this is all about?" I'll say, "No." and shoot him. No, on second thought I'll shoot him then say "No." --Peter Anspach's list of things to do as an Evil Overlord ------------------------------------------------------[rand. sig. #13] - 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