On 2005-12-14 01:51, Wojciech Puchar <[EMAIL PROTECTED]> wrote:
>> I think you need to put that in /etc/mail/access  as
>>
>> 10  RELAY
>>
>> and then do a
>> #make maps
>>
>> Check the Makefile in /etc/mail/ for more on the make
>> option
>>
>> Read /usr/share/sendmail/cf/README for more info.

> thanks.
>
> so what does local-host-names control?
>
> exactly as filename states? what domain does this server handle?

The list of host names for which email delivery takes place locally (Sendmail
documentation calls this "class 'w'" some times, if I remember correctly).

If your hostname is foo.example.net and the `confCW_FILE' macro points to
/etc/mail/local-host-names (as it does by default), and that file contains:

    bar.example.net

Then Sendmail will try to deliver messages sent to [EMAIL PROTECTED]
locally too.

You don't absolutely _have_ to put *ALL* your host names in local-host-names,
because as I wrote before, Sendmail tries to auto-discover the local host
names.  You can see this list by running Sendmail in 'test mode' and looking
at the value of '$=w' like this (pressing CTRL-D exits from 'test mode', near
the end of the following example):

# [EMAIL PROTECTED]:35]/home/keramida$ /usr/libexec/sendmail/sendmail -bt
# ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
# Enter <ruleset> <address>
# > $=w
# [IPv6:::1]
# [IPv6:fe80::1]
# flame.pc
# www.pc
# mail.pc
# localhost.localdomain
# localhost
# flame
# [127.0.0.1]
# localhost.pc
# [IPv6:fe80::211:95ff:feca:e5e8]
# flame.localdomain
# freebsd.pc
# [flame.daedalusnetworks.priv]
# > ^D
# [EMAIL PROTECTED]:35]/home/keramida$

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to