Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jun 2004 14:52:53 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        David Fleck <david.fleck@mchsi.com>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: blacklist(s)
Message-ID:  <20040620135253.GA51201@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <20040620081624.E13853@grond.sourballs.org>
References:  <20040515005503.GA9224@tao.thought.org> <20040514192819.C20346@wonkity.com> <20040620081624.E13853@grond.sourballs.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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<m.seaman@infracaninophile.co.uk>, relay=3Dc-67-162-1=
53-95.client.comcast.net [67.162.153.95], reject=3D550 5.7.1 <m.seaman@infr=
acaninophile.co.uk>... 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040620135253.GA51201>