From owner-freebsd-questions@FreeBSD.ORG Fri Apr 11 07:13:15 2003 Return-Path: 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 461A637B401 for ; Fri, 11 Apr 2003 07:13:15 -0700 (PDT) Received: from wonkity.com (wonkity.com [65.173.111.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 89DC943F75 for ; Fri, 11 Apr 2003 07:13:14 -0700 (PDT) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.12.9/8.12.9) with ESMTP id h3BEDDBn007137; Fri, 11 Apr 2003 08:13:13 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.12.9/8.12.9/Submit) with ESMTP id h3BEDD0J007134; Fri, 11 Apr 2003 08:13:13 -0600 (MDT) Date: Fri, 11 Apr 2003 08:13:12 -0600 (MDT) From: Warren Block To: "rob.c" In-Reply-To: <005001c30007$659d8920$0800000a@globalvc.co.uk> Message-ID: <20030411080714.D7043@wonkity.com> References: <005001c30007$659d8920$0800000a@globalvc.co.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: DNSBL settings problems in Sendmail ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Apr 2003 14:13:15 -0000 On Fri, 11 Apr 2003, rob.c wrote: > DNSBL settings problems in Sendmail ? > > FreeBSD 4.7 and 4.8 > Sendmail 8.12.6p2/8.12.9 > > I have my sendmail configured to check mail against multiple DNS based black > lists, however this doesn't seem to block any mail. Each time i get a UCE i > check the spammers mail server IP against the lists that i'm using and in > each case the message should have been blocked. > An example of one of my sendmail.mc lines is: > FEATURE(dnsbl, `Spews.relays.OsiruSoft.com', `"550 Mail from " Hmm. Don't know if the DNSBL name is case-sensitive or not; you may need all lowercase. > $&{client_addr} " > rejected, see http://relays.osirusoft.com/ " $&{client_addr}') You need to rebuild the .mc file after making changes. There should be a .mc file named with your hostname--make your changes there. Then use make to rebuild it and install the new .cf file: make all install and then restart the daemon: make restart > Could somebody point my to the right FAQ manual ? I can't find anything > related on sendmail.org about verifying whether dnsbl is working or on > devshed forums. The contents of /etc/mail/Makefile are helpful. -Warren Block * Rapid City, South Dakota USA