getting ordb.org to stop spam with sendmail

David Banning david at skytracker.ca
Tue Jun 17 09:19:13 PDT 2003


On Tue, Jun 17, 2003 at 09:13:46AM -0500, Dan Nelson wrote:
> In the last episode (Jun 17), David Banning said:
> > I am interested in getting my server to bounce mail from open relays.
w do I test if my mailserver is actually using ORDB.org?


> > 
> > I have been to the ordb.org site. I have added the suggested line
> > to my mc files;
> > 
> > FEATURE(`dnsbl', `relays.ordb.org', ` "550 Email rejected due to sending server misconfiguration - see http://www.ordb.org/faq/\#why_rejected"')dnl
> > 
> > I have tried to test that it is working by adding;
> > 
> > 127.0.0.2              29.66.188.209.relays.ordb.org
> >  
> > to my /etc/hosts file, as my ip address is 209.188.66.299
> 
> /etc/hosts is not examined for DNS lookups.  You'll have to set up a
> fake relays.ordb.org zone in named if you want to test it on your own
> IP.

Dan, your advice seems to contradict the ordb.org website which reads;

--------
How do I test if my mailserver is actually using ORDB.org?

On Unix based systems:

Become the root user:

$ su - Edit /etc/hosts in your favourite editor: # vim /etc/hosts
Add the following line, substituting for your your local systems
inverted IP address: 

127.0.0.2 <my reversed IP address>.relays.ordb.org

Local system, in this case, refers to the host from which you will
be sending the test email.  You build an inverted IP address by
taking your real IP address (e.g. 62.243.214.83) and inverting the
octets. (e.g. 83.214.243.62).  Once you have accomplished this,
sending email to your protected mail server from your local system
should result in a rejection notice, or whatever you have configured
your system for.



More information about the freebsd-questions mailing list