Re: Sendmail failing to resolve IP address of the Smart Host

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Blessing Kamutande wrote:

Hie All,
I have two LAN sites with one site running Exchange 5.5 and this site is the
gateway to the Internet. The problem is the other site is running Sendmail
8.12.8 and I defined the Exchange as the smart host name being mailserver,
but Sendmail fail to relay mail saying: DEFERRED. Connection time out. Could
not resolve host name. I have put mailserver in my /etc/hosts file ad I can ping the exchange
server using its name(mailserver). These servers are on the same net i.e
192.168.1.0


What could be the problem and how can I solve it?


Possible problems:

Did you restart sendmail after you put the entry in /etc/hosts?

Does /etc/hosts have the FQDN (e.g. mailserver.example.com) first and then the short name second in /etc/hosts? (Sendmail likes fully qualified domain names, it's happiest, in fact, with a working DNS)

Can you look up other host names on the Linux box? (e.g. "host google.com") -- if not, then sendmail is going to get upset.

Make sure you can telnet to port 25 on the exchange server from the Linux box.

Try changing the smarthost (if you can call exchange "smart" :-)) to the IP address of the exchange server rather than its name.

jch



--
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux