Sendmail: How does one blacklist annoying spammers?

Timothy Murphy gayleard at
Sat Jun 26 14:15:52 UTC 2010

Ed Greshko wrote:

>> Are you saying you can implement spamhaus by a line in ?
>> If so, what is the line?
> FEATURE(`dnsbl', `', `"550 Mail from " $`'&{client_addr}
> " refused - see"')
> is specific to spamhaus.
> Typing "spamhaus sendmail configuration" in google will help too....

Thanks for the advice.
I did google as you suggested,
but found that most of the responses seemed to suggest
that one had to (or should) make a whole plethora of changes.

The simplest, and most lucid, advice I found was in
where the author suggested simply adding the line


to /etc/mail/
running "make -C /etc/mail" and "service sendmail restart".

Assuming this is correct, and is an effective safeguard,
it seems a little surprising to me that it is not suggested
somewhere in the Fedora-13 documentation.
(Or maybe it is?)

I actually find SpamAssassin by itself is quite adequate,
reducing spam to perhaps 5% of my email.
But if adding SpamHaus improves even this
I am more than willing to try it.

Timothy Murphy  
e-mail: gayleard /at/
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

More information about the users mailing list