Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jun 2002 09:59:13 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        randy <randy@turbowarp.net>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Sendmail Spam RBL
Message-ID:  <20020620145913.GC7928@dan.emsphone.com>
In-Reply-To: <20020620102257.K53188-100000@desert.turbowarp.net>
References:  <20020620102257.K53188-100000@desert.turbowarp.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jun 20), randy said:
> Hola,
> 
> These guys are scaring me.  I have read and re-read the Sendmail
> configuraions readme's and my eyes glaze over and then roll into the back
> of my head.
> 
> Can it or is it really as difficult as they make it out to be?
> 
> I just want to set up spam filter for "direct useage via DNS" ... for
> mail-abuse or ordb.
> 
> Do I simply add "5.123.89.192.relays.ordb.org. IN A 127.0.0.2" to my DNS
> record for each domain?  Do I need to do anything else?

No; that's what the ORDB people would do to add you to the blocklist :)

All you need to do is edit your sendmail .mc file (FreeBSD likes to
call it /etc/mail/$HOSTNAME.mc), add:

FEATURE(`dnsbl', `relays.ordb.org', `"Mail from open relay rejected - see http://www.ordb.org/lookup/?host=" $&{client_addr}')dnl

, regenerate your .cf file (if you're using the standard setup, just
type "make"), and killall -HUP sendmail.

-- 
	Dan Nelson
	dnelson@allantgroup.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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