Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Dec 2005 15:53:20 -0500
From:      Charles Swiger <cswiger@mac.com>
To:        Wojciech Puchar <wojtek@tensor.3miasto.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: /etc/mail/local-host-names
Message-ID:  <5874EDAF-E948-4410-AFAC-AF2544BD1C20@mac.com>
In-Reply-To: <20051213210155.E13042@chylonia.3miasto.net>
References:  <20051213210155.E13042@chylonia.3miasto.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5874EDAF-E948-4410-AFAC-AF2544BD1C20>