rejecting botnets with sendmail

Res res at
Wed Nov 1 22:39:18 GMT 2006

On Wed, 1 Nov 2006, Rick Cooper wrote:

> I use exim and it allows you to reject based on specific returns (such as
> or anything but a specific return for rbls that return more than
> one possible address. I figured this is such a good idea perhaps sendmail
> had something similar so I hit google and found enhdnsbl, did a quick google
> on FEATURE(enhdnsbl, and found you could use something like
> FEATURE(`enhdnsbl',`',`"554 Rejected "
> $&{client_addr} " found in"',
> ,`',`', `', , `', , `',
> `', `', `')
> Which would reject on all the lists except dul. Or you could have multiple
> FEATURE(`dnsbl', entries, one for each of the lists you wanted to use (there
> are more too). Of course the single call and choose your reject addresses,
> would be more economical I would think.

Sendmail works the identical way, its an "enhanced dnsbl" feature


"Just a world that we all must share, it's not enough just to stand and
stare, is it only a dream that there'll be no more turning away" - Floyd

More information about the MailScanner mailing list