From owner-freebsd-questions@FreeBSD.ORG Wed Sep 13 18:25:44 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 E7CB216A403 for ; Wed, 13 Sep 2006 18:25:44 +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 1386343D9F for ; Wed, 13 Sep 2006 18:25:22 +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 k8DIPKAP064786; Wed, 13 Sep 2006 13:25:21 -0500 (CDT) (envelope-from kdk@daleco.biz) Message-ID: <45084D0B.9020505@daleco.biz> Date: Wed, 13 Sep 2006 13:25:15 -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: Robert Huff References: <45082E5C.5040503@daleco.biz> <20060913163722.GA62734@gothmog.pc> <17672.13999.919090.369262@jerusalem.litteratus.org> In-Reply-To: <17672.13999.919090.369262@jerusalem.litteratus.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: 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 18:25:45 -0000 Robert Huff wrote: > Giorgos Keramidas writes: > >> I don't think you can have the hostnames in a separate "map file" >> and then reference this file from /etc/hosts.allow. > > The port security/denyhosts does exactly that. (And it seems > to work.) > > Robert Huff I didn't see Giorgos' reply to my initial post, but, on that subject, the manpage I referred to (hosts_access) also says: "A string that begins with a `/' character is treated as a file name. A host name or address is matched if it matches any host name or address pattern listed in the named file. The file format is zero or more lines with zero or more host name or address patterns separated by whitespace. A file name pattern can be used anywhere a host name or address pattern can be used." It could be, I suppose, that the manpage is out-of-date/sync with reality.... Kevin Kinsey -- It is better to wear out than to rust out.