From owner-freebsd-questions@FreeBSD.ORG Wed Sep 13 16:14:30 2006 Return-Path: X-Original-To: questions@freebsd.org 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 460CF16A403 for ; Wed, 13 Sep 2006 16:14:30 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 75F9D43D49 for ; Wed, 13 Sep 2006 16:14:29 +0000 (GMT) (envelope-from kdk@daleco.biz) Received: from [192.168.2.2] ([69.27.149.254]) by ezekiel.daleco.biz (8.13.4/8.13.1) with ESMTP id k8DGEPms063961 for ; Wed, 13 Sep 2006 11:14:26 -0500 (CDT) (envelope-from kdk@daleco.biz) Message-ID: <45082E5C.5040503@daleco.biz> Date: Wed, 13 Sep 2006 11:14:20 -0500 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.0.6) Gecko/20060902 SeaMonkey/1.0.4 MIME-Version: 1.0 To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: sendmail and hosts_access(5) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Sep 2006 16:14:30 -0000 Hello all, I am attempting to block an SMTP server with /etc/hosts.allow: ---------------------------------------------------------- Received: from 241net251.net.zeork.com.pl (241net251.net.zeork.com.pl [194.117.241.251] (may be forged)) ---------------------------------------------------------- [506] Tue 12.Sep.2006 20:55:44 [kadmin@archangel][~] #ssh kadmin@elisha grep zeork /home/kadmin/spammers .net.zeork.com.pl [507] Tue 12.Sep.2006 20:56:55 [kadmin@archangel][~] #ssh kadmin@elisha grep /home/kadmin/spammers /etc/hosts.allow sendmail : /home/kadmin/spammers : deny -------------------------------------------------------------- hosts_access(5) says this: The access control language implements the following patterns: * A string that begins with a `.' character. A host name is matched if the last components of its name match the specified pattern. For example, the pattern `.tue.nl' matches the host name `wzv.win.tue.nl' So, why does my server continue accepting SMTP connections from "241net251.net.zeork.com.pl" ? Thoughts, pointers, gentle kicks on the bum welcomed. Kevin Kinsey DaleCo, S.P. ---- Ray's Rule of Precision: Measure with a micrometer. Mark with chalk. Cut with an axe.