From owner-freebsd-questions@FreeBSD.ORG Tue Jun 17 09:19:13 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 84F2F37B404 for ; Tue, 17 Jun 2003 09:19:13 -0700 (PDT) Received: from mail.clubplus.net (mail.clubplus.net [216.191.22.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7AD8943FBF for ; Tue, 17 Jun 2003 09:19:05 -0700 (PDT) (envelope-from david@skytracker.ca) Received: from skytrackercanada.com (cust29.209.188.66.dsl.accessv.com [209.188.66.29]) by mail.clubplus.net (8.12.7/8.12.7) with ESMTP id h5HGORpG020304 for ; Tue, 17 Jun 2003 12:24:27 -0400 Received: (from root@localhost) by skytrackercanada.com (8.12.9/8.12.9) id h5HGJ1xO018495 for questions@freebsd.org; Tue, 17 Jun 2003 12:19:01 -0400 (EDT) (envelope-from david@skytracker.ca) Received: from skytrackercanada.com (loopback [127.0.0.1]) by skytrackercanada.com (8.12.9/8.12.6) with ESMTP id h5HGJ0bi018465; Tue, 17 Jun 2003 12:19:00 -0400 (EDT) (envelope-from david@skytrackercanada.com) Received: (from david@localhost) by skytrackercanada.com (8.12.9/8.12.9/Submit) id h5HGJ0tq018464; Tue, 17 Jun 2003 12:19:00 -0400 (EDT) (envelope-from david) Date: Tue, 17 Jun 2003 12:19:00 -0400 From: David Banning To: Dan Nelson Message-ID: <20030617161900.GC17961@skytrackercanada.com> References: <20030617065209.GA9407@skytrackercanada.com> <20030617141346.GG64929@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030617141346.GG64929@dan.emsphone.com> User-Agent: Mutt/1.4.1i X-scanner: scanned by Inflex 0.1.5c - (http://www.inflex.co.za/) X-RAVMilter-Version: 8.4.2(snapshot 20021217) (mail) cc: questions@freebsd.org cc: David Banning Subject: Re: getting ordb.org to stop spam with sendmail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jun 2003 16:19:13 -0000 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 .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.