/etc/mail/local-host-names

Charles Swiger cswiger at mac.com
Tue Dec 13 12:53:25 PST 2005


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



More information about the freebsd-questions mailing list