DNSBL settings problems in Sendmail ?

Warren Block wblock at wonkity.com
Fri Apr 11 07:13:15 PDT 2003

On Fri, 11 Apr 2003, rob.c wrote:

> DNSBL settings problems in Sendmail ?
> FreeBSD 4.7 and 4.8
> Sendmail 8.12.6p2/8.12.9
> I have my sendmail configured to check mail against multiple DNS based black
> lists, however this doesn't seem to block any mail. Each time i get a UCE i
> check the spammers mail server IP against the lists that i'm using and in
> each case the message should have been blocked.
> An example of one of my sendmail.mc lines is:
> FEATURE(dnsbl, `Spews.relays.OsiruSoft.com', `"550 Mail from "

Hmm.  Don't know if the DNSBL name is case-sensitive or not; you may
need all lowercase.

> $&{client_addr} "
> rejected, see http://relays.osirusoft.com/ " $&{client_addr}')

You need to rebuild the .mc file after making changes.  There should be
a .mc file named with your hostname--make your changes there.  Then use
make to rebuild it and install the new .cf file:

make all install

and then restart the daemon:

make restart

> Could somebody point my to the right FAQ manual ? I can't find anything
> related on sendmail.org about verifying whether dnsbl is working or on
> devshed forums.

The contents of /etc/mail/Makefile are helpful.

-Warren Block * Rapid City, South Dakota USA

More information about the freebsd-questions mailing list