Fwd:The Truth
Andrew Mathews
andrew_mathews
Mon May 17 11:46:47 PDT 2004
Roger Oberholtzer wrote:
> Has anyone been using the services of e-mail blacklists? I have been
> tempted. How hard to set up in sendmail?
>
<snip>
It's quite easy, simply add the following to your /etc/mail/sendmail.mc:
FEATURE(`dnsbl',`dnsbl.njabl.org',`Message from $&{client_addr} rejected
- see http
://njabl.org/')
FEATURE(`enhdnsbl',`bl.spamcop.net',`"Spam blocked see:
http://spamcop.net/bl.shtml
?"$&{client_addr}',`t')
Then rebuild your sendmail configuration with
m4 /etc/mail/sendmail.mc > /etc/sendmail.cf
and restart sendmail.
--
Andrew Mathews
---------------------------------------------------------------------
7:26am up 13 days, 15:47, 5 users, load average: 1.54, 1.65, 1.59
---------------------------------------------------------------------
If I could drop dead right now, I'd be the happiest man alive!
-- Samuel Goldwyn
More information about the Linux-users
mailing list