Date: Tue, 13 Dec 2005 22:30:01 +0200 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Gary Kline <kline@tao.thought.org> Cc: Wojciech Puchar <wojtek@tensor.3miasto.net>, freebsd-questions@freebsd.org Subject: Re: /etc/mail/local-host-names Message-ID: <20051213203001.GA14332@flame.pc> In-Reply-To: <20051213201543.GA35221@thought.org> References: <20051213210155.E13042@chylonia.3miasto.net> <20051213201543.GA35221@thought.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2005-12-13 12:15, Gary Kline <kline@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 |
    +---------------------------------+
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051213203001.GA14332>
