On Fri, May 10, 2002 at 10:52:32PM +0200, Oliver Fromme wrote:
> Bernd Walter <ticso(at)cicely5.cicely.de> wrote:
> > On Fri, May 10, 2002 at 06:50:21AM +0200, Manuel Stuehn wrote:
> > > in meiner /etc/hosts steht
> > > 127.0.0.1 localhost
> > > 192.168.10.1 mailserver.mynet mailserver
> >
> > Und deine nsswitch.conf sagt auch »hosts: files dns«?
>
> Auf FreeBSD verwendet sendmail /etc/mail/service.switch,
> AFAIK.
Die Datei existiert allerdings default nicht.
Dadurch macht der einen Fallback auf dns, was für den Sendmail
allerdings nur der normale Systemresolver ist, welcher wiederum
die /etc/nsswitch.conf consultiert.
Wie man sieht benutzt der /etc/hosts auch ohne diese Datei:
[116]cicely6# sendmail -bt
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
> /map host localhost.
map_lookup: host (localhost.) returns localhost.my.domain. (0)
> /map host localhost
map_lookup: host (localhost) returns localhost.cicely.de. (0)
-- B.Walter COSMO-Project http://www.cosmo-project.de ticso(at)cicely.de Usergroup info(at)cosmo-project.de To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org with "unsubscribe de-bsd-questions" in the body of the messageReceived on Sat 11 May 2002 - 11:38:57 CEST