From owner-freebsd-questions@FreeBSD.ORG Sun Jun 20 13:53:07 2004 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 BB0F316A4CE for ; Sun, 20 Jun 2004 13:53:07 +0000 (GMT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4145D43D2F for ; Sun, 20 Jun 2004 13:53:06 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i5KDqrWr051429 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 20 Jun 2004 14:52:53 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i5KDqrqn051428; Sun, 20 Jun 2004 14:52:53 +0100 (BST) (envelope-from matthew) Date: Sun, 20 Jun 2004 14:52:53 +0100 From: Matthew Seaman To: David Fleck Message-ID: <20040620135253.GA51201@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , David Fleck , Warren Block , FreeBSD Mailing List References: <20040515005503.GA9224@tao.thought.org> <20040514192819.C20346@wonkity.com> <20040620081624.E13853@grond.sourballs.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="a8Wt8u1KmwUX3Y2C" Content-Disposition: inline In-Reply-To: <20040620081624.E13853@grond.sourballs.org> User-Agent: Mutt/1.5.6i X-Greylist: Message not sent from an IPv4 address, not delayed by milter-greylist-1.4 (smtp.infracaninophile.co.uk [0.0.0.0]); Sun, 20 Jun 2004 14:52:53 +0100 (BST) X-Virus-Scanned: clamd / ClamAV version devel-20040612, clamav-milter version 0.72a on smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: FreeBSD Mailing List Subject: Re: blacklist(s) 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: Sun, 20 Jun 2004 13:53:08 -0000 --a8Wt8u1KmwUX3Y2C Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jun 20, 2004 at 08:24:16AM -0500, David Fleck wrote: > On Fri, 14 May 2004, Warren Block wrote: > > On Fri, 14 May 2004, Gary Kline wrote: > > > Can anyone point me to the website that told how to set up > > > sendmail's FEATURE to use blacklists? There were at least > > > fourr blacklist sites. I've grep'd thru my ~/Mail directory, > > > can't find it? > > > > There should already be an example in /etc/mail/freebsd.mc (no > > linewrap): > > > > dnl FEATURE(dnsbl, `blackholes.mail-abuse.org', `"550 Mail from " $&{cl= ient_addr} " rejected, see http://mail-abuse.org/cgi-bin/lookup?" $&{client= _addr}') > [...] >=20 > Sorry for this monumentally stupid-sounding question, but how do you tell > if the dnsbl feature is *working* or not? I've got 2 set in my local .mc > files: >=20 > FEATURE(dnsbl, `bl.spamcop.net', `"550 Mail from " $&{client_addr} " reje= cted, see http://spamcop.net/bl.shtml?" $&{client_addr}') > FEATURE(dnsbl,`combined.njabl.org',`Message from $&{client_addr} rejected= - see http://njabl.org/lookup?$&{client_addr}') >=20 > (and yes, I did 'make cf install' afterwards), but I don't see any > indication of mail being rejected because of these in my maillog. I do > see mail being rejected because of settings in /etc/mail/access.db. Do > these work silently, or are they not working at all? You'll see messages being rejected in your maillog -- like this: Jun 20 12:41:17 happy-idiot-talk sm-mta[50011]: i5KBf8LW050011: ruleset= =3Dcheck_rcpt, arg1=3D, relay=3Dc-67-162-1= 53-95.client.comcast.net [67.162.153.95], reject=3D550 5.7.1 ... Mail from 67.162.153.95 rejected using spamcop.net D= NSBL. See http://spamcop.net/w3m?action=3Dcheckblock&ip=3D67.162.153.95 If you aren't seeing any rejects then either you haven't installed the modified sendmail.cf and restarted sendmail properly: # cd /etc/mail # make=20 # make install # make restart or you simply haven't had any spam from blacklisted addresses. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --a8Wt8u1KmwUX3Y2C Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA1Za1iD657aJF7eIRAlBZAJsEc9BnwsTtUV+YhX8Vuun6p+IVawCeLG/N wELamhMKotGI45gJn0sQ/zw= =Z81F -----END PGP SIGNATURE----- --a8Wt8u1KmwUX3Y2C--