/etc/mail/local-host-names
Giorgos Keramidas
keramida at ceid.upatras.gr
Tue Dec 13 12:31:20 PST 2005
On 2005-12-13 12:15, Gary Kline <kline at tao.thought.org> wrote:
>On Tue, Dec 13, 2005 at 09:03:11PM +0100, 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.
>
> I think--but don't *quote* me:) -- that the host-names
> file does eactly what ^Cwhostname does in sendmail.cf.
> So if your host were named foo, you would put ^foo in
> local-host-names.
Not quite. Careful with those caret (`^') characters.
The /etc/mail/local-host-names file is not where relay control is
configured. This is what /etc/mail/access and /etc/mail/access.db
are for.
The format of /etc/mail/access is described in:
/usr/share/sendmail/cf/README
Look for the section starting with:
+---------------------------------+
| ANTI-SPAM CONFIGURATION CONTROL |
+---------------------------------+
More information about the freebsd-questions
mailing list