From owner-freebsd-questions@FreeBSD.ORG Tue Dec 13 20:53:25 2005 Return-Path: X-Original-To: freebsd-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 591AC16A41F for ; Tue, 13 Dec 2005 20:53:25 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E69943D55 for ; Tue, 13 Dec 2005 20:53:23 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 360D8606B; Tue, 13 Dec 2005 15:53:22 -0500 (EST) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21151-03; Tue, 13 Dec 2005 15:53:21 -0500 (EST) Received: from [199.103.21.238] (pan.codefab.com [199.103.21.238]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id 78C895CF8; Tue, 13 Dec 2005 15:53:21 -0500 (EST) In-Reply-To: <20051213210155.E13042@chylonia.3miasto.net> References: <20051213210155.E13042@chylonia.3miasto.net> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <5874EDAF-E948-4410-AFAC-AF2544BD1C20@mac.com> Content-Transfer-Encoding: 7bit From: Charles Swiger Date: Tue, 13 Dec 2005 15:53:20 -0500 To: Wojciech Puchar X-Mailer: Apple Mail (2.746.2) X-Virus-Scanned: amavisd-new at codefab.com Cc: freebsd-questions@freebsd.org Subject: Re: /etc/mail/local-host-names 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: Tue, 13 Dec 2005 20:53:25 -0000 On Dec 13, 2005, at 3:03 PM, Wojciech Puchar wrote: > how line should look at this file > > to enable anybody in IPv4 10.0.0.0/8 to relay through this server > > 10. > > seems not to work. As someone else has said, local-host-names controls class W, the list of hosts for which mail will be delivered locally. This is not the same thing as the list of hosts for which is it OK to relay mail for. You want to add: 10 RELAY ...to /etc/mail/access, and do a "make all" to rebuild the access map. (Or consider switching to postfix. :-) -- -Chuck