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 <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] > > > 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 [EMAIL PROTECTED] > 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 _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
