From owner-freebsd-questions@FreeBSD.ORG Tue Jun 17 00:06:42 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 D50B337B401 for ; Tue, 17 Jun 2003 00:06:42 -0700 (PDT) Received: from ns2.wananchi.com (ns2.wananchi.com [62.8.64.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id C452343F75 for ; Tue, 17 Jun 2003 00:06:40 -0700 (PDT) (envelope-from wash@wananchi.com) Received: from wash by ns2.wananchi.com with local (Exim 4.20 #5 (FreeBSD)) id 19SAXu-000C7P-4j; Tue, 17 Jun 2003 10:06:22 +0300 Date: Tue, 17 Jun 2003 10:06:22 +0300 From: ODHIAMBO Washington To: David Banning Message-ID: <20030617070622.GA34868@ns2.wananchi.com> References: <20030617065209.GA9407@skytrackercanada.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030617065209.GA9407@skytrackercanada.com> X-Disclaimer: Any views expressed in this message,where not explicitly attributed otherwise, are mine alone!. X-Fortune: Conscience is a mother-in-law whose visit never ends. -- H. L. Mencken X-Operating-System: FreeBSD 4.8-STABLE i386 X-Best-Window-Manager: Blackbox X-Mailer: Mutt 1.5.3i (2002-12-17) X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. X-Uptime: 10:00AM up 2 days, 19:50, 5 users, load averages: 1.39, 1.07, 0.73 User-Agent: Mutt/1.5.3i cc: questions@freebsd.org 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 07:06:43 -0000 * David Banning [20030617 09:52]: wrote: > I am interested in getting my server to bounce mail from open relays. > > 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 am using sendmail 8.12.9/8.12.6 > I of course recompiled the .mc files, and restarted sendmail. > > 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 > > I am still not getting a bounce. I am not seeing anything in /var/maillog > > I am looking for a clue as to how to get more info to get this working, > either via a tip from someone, or how I can crank up my logging > to maillog to give me more info. A website that goes into > more depth would be helpful, if anyone knows one. I believe the ordb dnslists are not free anymore, but that is upto you to go and find out. Perhaps you already did. I use the following dnslists: spamhaus.relays.osirusoft.com : spamsites.relays.osirusoft.com : \ dialups.relays.osirusoft.com : socks.relays.osirusoft.com : \ opm.blitzed.org : sbl.spamhaus.org : proxies.blackholes.easynet.nl I use Exim, not Sendmail, so I do not know how to test, but suppose you have a different box, you can temporarily assign the IP to it, then to telnet -s 209.188.66.29 ip_of_sendmail_box 25 Then simulate a mail transaction and see what the sendmail says in the log... -Wash -- Odhiambo Washington "The box said 'Requires Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,' Tel: +254 2 313985-9 +254 2 313922 so I installed FreeBSD." GSM: +254 72 743223 +254 733 744121 This sig is McQ! :-) Christ: A man who was born at least 5,000 years ahead of his time.