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 " $&{client_addr} > > " rejected, see http://mail-abuse.org/cgi-bin/lookup?" $&{client_addr}') > [...] > > 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: > > FEATURE(dnsbl, `bl.spamcop.net', `"550 Mail from " $&{client_addr} " rejected, 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}') > > (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=check_rcpt, arg1=<[EMAIL PROTECTED]>, relay=c-67-162-153-95.client.comcast.net [67.162.153.95], reject=550 5.7.1 <[EMAIL PROTECTED]>... Mail from 67.162.153.95 rejected using spamcop.net DNSBL. See http://spamcop.net/w3m?action=checkblock&ip=67.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 # make install # make restart or you simply haven't had any spam from blacklisted addresses. Cheers, Matthew -- 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
pgpAVWAkOTMSt.pgp
Description: PGP signature