Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Dec 2003 17:20:04 +0100 (CET)
From:      Olaf Hoyer <ohoyer@gaff.hhhr.ision.net>
To:        "=?iso-8859-1?q?Feroz=20F.=20Basir?=" <dbase77@yahoo.com>
Cc:        freebsd questions <freebsd-questions@freebsd.org>
Subject:   Re: fbsd4.9 sendmail
Message-ID:  <20031223171623.J48498@gaff.hhhr.ision.net>
In-Reply-To: <20031223160016.34726.qmail@web40609.mail.yahoo.com>
References:  <20031223160016.34726.qmail@web40609.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 23 Dec 2003, Feroz F. Basir wrote:

> Hi,
>
> My mail server is within my LAN and we dont have/use
> DNS server. Why sendmail want to resolve domain.com? I
> thought using smart host will tranfer all mails to our
> mail.domain.com machine. I just use /etc/hosts file to
> resolve mail.domain.com to ip.
>
> Do I need to setup DNS server under fbsd4.9 just to
> resolve odmain.com if I send to john@domain.com?
>
Hi!

You can also tell sendmail to resolve hosts first through /etc/hosts,
and then try DNS. default is DNS first.

angua 17:19 >cat /etc/mail/service.switch
hosts files dns

HTH
Olaf

-- 
Olaf Hoyer        ohoyer@gaff.hhhr.ision.net
Fuerchterliche Erlebniss geben zu raten,
ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031223171623.J48498>