Date: Tue, 23 Dec 2003 17:41:05 +0000 (GMT) From: "=?iso-8859-1?q?Feroz=20F.=20Basir?=" <dbase77@yahoo.com> To: Olaf Hoyer <ohoyer@gaff.hhhr.ision.net> Cc: freebsd questions <freebsd-questions@freebsd.org> Subject: Re: fbsd4.9 sendmail Message-ID: <20031223174105.83776.qmail@web40606.mail.yahoo.com> In-Reply-To: <20031223171623.J48498@gaff.hhhr.ision.net>
next in thread | previous in thread | raw e-mail | index | archive | help
HI again, Thank everybody for giving me some feedback. I got it to work at last. I created /etc/mail/service.switch and put "hosts files". Edit my sendmail.cf again and uncomment line to use service.switch file. wow lots of email being sent at once. # service switch file (name hardwired on Solaris, Ultrix, OSF/1, others) O ServiceSwitchFile=/etc/mail/service.switch # hosts file (normally /etc/hosts) O HostsFile=/etc/hosts Thank you again. --- Olaf Hoyer <ohoyer@gaff.hhhr.ision.net> wrote: > 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) ________________________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031223174105.83776.qmail>