Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Apr 2003 08:13:12 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        "rob.c" <rob@robc.info>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: DNSBL settings problems in Sendmail ? 
Message-ID:  <20030411080714.D7043@wonkity.com>
In-Reply-To: <005001c30007$659d8920$0800000a@globalvc.co.uk>
References:  <005001c30007$659d8920$0800000a@globalvc.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030411080714.D7043>