<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Sendmail hostname lookup failure in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-hostname-lookup-failure/m-p/3501557#M562610</link>
    <description>hi,&lt;BR /&gt;&lt;BR /&gt;how about posting /etc/resolv.conf? do u have something like this example:&lt;BR /&gt;&lt;BR /&gt;domain abc.com&lt;BR /&gt;nameserver 123.123.123.123&lt;BR /&gt;&lt;BR /&gt;regards.</description>
    <pubDate>Thu, 10 Mar 2005 02:49:43 GMT</pubDate>
    <dc:creator>Joseph Loo</dc:creator>
    <dc:date>2005-03-10T02:49:43Z</dc:date>
    <item>
      <title>Sendmail hostname lookup failure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-hostname-lookup-failure/m-p/3501550#M562603</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;My requirement is just to send mails from unix server (sendmail) to exchange server as a relay host. I don't want to allow sending mails to internet.&lt;BR /&gt;&lt;BR /&gt;I don't want DNS lookup also. I am just giving relay server's ip address in DS entry in sendmail.cf and I have disabled DNS lookup entry through ResolverOptions=-DNSRCH.&lt;BR /&gt;&lt;BR /&gt;But when I send mail, I get an error (Deferred: Name server: x.x.x.x: host name lookup failur)&lt;BR /&gt;&lt;BR /&gt;Can you please guide me. This send mail is on Solaris.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Kusuma</description>
      <pubDate>Thu, 10 Mar 2005 01:25:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-hostname-lookup-failure/m-p/3501550#M562603</guid>
      <dc:creator>Kusuma Sashidhar_2</dc:creator>
      <dc:date>2005-03-10T01:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail hostname lookup failure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-hostname-lookup-failure/m-p/3501551#M562604</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;u may try putting the hostname and ip address of the exchange server in /etc/hosts. change the relay host to DS&lt;HOSTNAME of="" exchange="" server=""&gt; then restart sendmail service.&lt;BR /&gt;&lt;BR /&gt;also, u may like to check /etc/nsswitch.conf if the lookup for the hostname includes "files".&lt;BR /&gt;&lt;BR /&gt;regards.&lt;/HOSTNAME&gt;</description>
      <pubDate>Thu, 10 Mar 2005 01:42:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-hostname-lookup-failure/m-p/3501551#M562604</guid>
      <dc:creator>Joseph Loo</dc:creator>
      <dc:date>2005-03-10T01:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail hostname lookup failure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-hostname-lookup-failure/m-p/3501552#M562605</link>
      <description>Hi Joseph,&lt;BR /&gt;&lt;BR /&gt;Thanks for replying. &lt;BR /&gt;&lt;BR /&gt;I have tried all that u said.&lt;BR /&gt;&lt;BR /&gt;My DS entry has the FQDN of exchange server&lt;BR /&gt;&lt;BR /&gt;and my nsswitch.conf has hosts: files dns&lt;BR /&gt;&lt;BR /&gt;But still the same problem.&lt;BR /&gt;&lt;BR /&gt;Kusuma</description>
      <pubDate>Thu, 10 Mar 2005 01:58:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-hostname-lookup-failure/m-p/3501552#M562605</guid>
      <dc:creator>Kusuma Sashidhar_2</dc:creator>
      <dc:date>2005-03-10T01:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail hostname lookup failure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-hostname-lookup-failure/m-p/3501553#M562606</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;have u check if the hostname is resolve via nslookup &lt;FQDN of="" the="" exchange="" server=""&gt;?&lt;BR /&gt;&lt;BR /&gt;also, what is the response from:&lt;BR /&gt;&lt;BR /&gt;# telnet &lt;FQDN of="" the="" exchange="" server=""&gt; 25&lt;BR /&gt;&lt;BR /&gt;regards.&lt;/FQDN&gt;&lt;/FQDN&gt;</description>
      <pubDate>Thu, 10 Mar 2005 02:03:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-hostname-lookup-failure/m-p/3501553#M562606</guid>
      <dc:creator>Joseph Loo</dc:creator>
      <dc:date>2005-03-10T02:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail hostname lookup failure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-hostname-lookup-failure/m-p/3501554#M562607</link>
      <description>Hi Joseph,&lt;BR /&gt;&lt;BR /&gt;telnet exchangeserver 25 responds with &lt;BR /&gt;&lt;BR /&gt;220 exchangeserver Microsoft ESMTP MAIL Service, Version: 5.0.2195.6713 ready at  Thu, 10 Mar 2005 02:15:46 -0500&lt;BR /&gt;&lt;BR /&gt;but nslookup exchangeserver says can't find hostname.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;kusuma</description>
      <pubDate>Thu, 10 Mar 2005 02:18:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-hostname-lookup-failure/m-p/3501554#M562607</guid>
      <dc:creator>Kusuma Sashidhar_2</dc:creator>
      <dc:date>2005-03-10T02:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail hostname lookup failure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-hostname-lookup-failure/m-p/3501555#M562608</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;it looks like nsswitch.conf need some amendment. would u be using DNS to resolve any of the hostname, if not, remove dns, i.e.&lt;BR /&gt;&lt;BR /&gt;hosts: files&lt;BR /&gt;&lt;BR /&gt;and try nslookup &lt;FQDN of="" exchange="" server=""&gt; again.&lt;BR /&gt;&lt;BR /&gt;also, ensure that this is found in your /etc/hosts file.&lt;BR /&gt;&lt;BR /&gt;regards.&lt;/FQDN&gt;</description>
      <pubDate>Thu, 10 Mar 2005 02:24:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-hostname-lookup-failure/m-p/3501555#M562608</guid>
      <dc:creator>Joseph Loo</dc:creator>
      <dc:date>2005-03-10T02:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail hostname lookup failure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-hostname-lookup-failure/m-p/3501556#M562609</link>
      <description>Joseph,&lt;BR /&gt;&lt;BR /&gt;/etc/nsswitch.conf contains files dns for some other purpose. I don't want sendmail to lookup through DNS. that is the reason I have an exchange server entry in /etc/hosts file. And i have also disable dns lookup in sendmail.cf as I mentioned in my first query. &lt;BR /&gt;&lt;BR /&gt;Do u know why it checks in DNS yet? How to disable that for sendmail alone?&lt;BR /&gt;&lt;BR /&gt;Kusuma</description>
      <pubDate>Thu, 10 Mar 2005 02:32:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-hostname-lookup-failure/m-p/3501556#M562609</guid>
      <dc:creator>Kusuma Sashidhar_2</dc:creator>
      <dc:date>2005-03-10T02:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail hostname lookup failure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-hostname-lookup-failure/m-p/3501557#M562610</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;how about posting /etc/resolv.conf? do u have something like this example:&lt;BR /&gt;&lt;BR /&gt;domain abc.com&lt;BR /&gt;nameserver 123.123.123.123&lt;BR /&gt;&lt;BR /&gt;regards.</description>
      <pubDate>Thu, 10 Mar 2005 02:49:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-hostname-lookup-failure/m-p/3501557#M562610</guid>
      <dc:creator>Joseph Loo</dc:creator>
      <dc:date>2005-03-10T02:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail hostname lookup failure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-hostname-lookup-failure/m-p/3501558#M562611</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;just remember something:&lt;BR /&gt;&lt;BR /&gt;did u also remember uncommenting Dj$w.Foo.COM to: &lt;BR /&gt;&lt;BR /&gt;Dj$w.abc.org &lt;BR /&gt;&lt;BR /&gt;regards.</description>
      <pubDate>Thu, 10 Mar 2005 03:07:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-hostname-lookup-failure/m-p/3501558#M562611</guid>
      <dc:creator>Joseph Loo</dc:creator>
      <dc:date>2005-03-10T03:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail hostname lookup failure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-hostname-lookup-failure/m-p/3501559#M562612</link>
      <description>one thing is I have nameserver x.x.x.x in /etc/resolv.conf. But I am looking at sendmail not to look at DNS.&lt;BR /&gt;&lt;BR /&gt;I have uncommented Dj &lt;BR /&gt;&lt;BR /&gt;One more thing is, i see in one of ITRC- links that someone says put IP address followed by DS in square brackets. I just tried that. but then it says it has delivered the message in to queue and I can't see anything in the queue and I don't receive mails also..&lt;BR /&gt;&lt;BR /&gt;Kusuma</description>
      <pubDate>Thu, 10 Mar 2005 03:58:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-hostname-lookup-failure/m-p/3501559#M562612</guid>
      <dc:creator>Kusuma Sashidhar_2</dc:creator>
      <dc:date>2005-03-10T03:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail hostname lookup failure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-hostname-lookup-failure/m-p/3501560#M562613</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;resolving the hostname of the exchange server providing the smtp service have to work before you get sendmail to work. nslookup will determine if you have done so.&lt;BR /&gt;&lt;BR /&gt;i am not too sure about putting IP address to the DS macro but if you will saying this works? also, like to confirm if you have place the hostname and correct IP address in /etc/hosts.&lt;BR /&gt;&lt;BR /&gt;if the mail is queuing, use command, mailq to check.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards.&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Mar 2005 05:09:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-hostname-lookup-failure/m-p/3501560#M562613</guid>
      <dc:creator>Joseph Loo</dc:creator>
      <dc:date>2005-03-10T05:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail hostname lookup failure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-hostname-lookup-failure/m-p/3501561#M562614</link>
      <description>I have tried both IP address and hostname, but i get the same results. when i say mailq, it displays&lt;BR /&gt;&lt;BR /&gt;(Deferred: Name server: exchangeserver.com: host name lookup failure)&lt;BR /&gt;                                       &lt;BR /&gt;&lt;BR /&gt;Kusuma</description>
      <pubDate>Thu, 10 Mar 2005 05:47:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-hostname-lookup-failure/m-p/3501561#M562614</guid>
      <dc:creator>Kusuma Sashidhar_2</dc:creator>
      <dc:date>2005-03-10T05:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail hostname lookup failure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-hostname-lookup-failure/m-p/3501562#M562615</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;A little brief:&lt;BR /&gt;&lt;BR /&gt;1.- Define in your /etc/hosts file an alias for your smtp relay server:&lt;BR /&gt;xx.xx.xx.xx my_smtp_relay&lt;BR /&gt;&lt;BR /&gt;Test it the alias resolution (i.e: ping my_smtp_relay)&lt;BR /&gt;&lt;BR /&gt;2.- Configure in your /etc/mail/sendmail.cf file the previuos relay into the "Smart relay host" section:&lt;BR /&gt;DSmy_smtp_relay&lt;BR /&gt;&lt;BR /&gt;3.- Restart the sendmail service:&lt;BR /&gt;#/sbin/init.d/sendmail stop&lt;BR /&gt;#/sbin/init.d/sendmail start&lt;BR /&gt;&lt;BR /&gt;4.- Try sending a test message:&lt;BR /&gt;#echo "Test One"|/usr/sbin/sendmail -v mailbox@domain&lt;BR /&gt;&lt;BR /&gt;5.- A trick to define a unreachable external domain is add it into /etc/hosts file aim to the relay's IP, i.e:&lt;BR /&gt;xx.xx.xx.xx pepsi.com&lt;BR /&gt;&lt;BR /&gt;Where xx.xx.xx.xx is the same relay_server and external domain IP.&lt;BR /&gt;&lt;BR /&gt;Rgds.</description>
      <pubDate>Thu, 10 Mar 2005 06:59:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-hostname-lookup-failure/m-p/3501562#M562615</guid>
      <dc:creator>Jose Mosquera</dc:creator>
      <dc:date>2005-03-10T06:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail hostname lookup failure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-hostname-lookup-failure/m-p/3501563#M562616</link>
      <description>Hi Jose,&lt;BR /&gt;&lt;BR /&gt;Have tried the sameway.&lt;BR /&gt;&lt;BR /&gt;It still has hostname lookup error. The same configuration works on linux but not on solaris.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Kusuma</description>
      <pubDate>Mon, 14 Mar 2005 02:33:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-hostname-lookup-failure/m-p/3501563#M562616</guid>
      <dc:creator>Kusuma Sashidhar_2</dc:creator>
      <dc:date>2005-03-14T02:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail hostname lookup failure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-hostname-lookup-failure/m-p/3501564#M562617</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Sendmail worked with new set of probs. Thanks for all the help.&lt;BR /&gt;&lt;BR /&gt;I shall open a new thread for new problems.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Kusuma</description>
      <pubDate>Mon, 14 Mar 2005 05:18:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-hostname-lookup-failure/m-p/3501564#M562617</guid>
      <dc:creator>Kusuma Sashidhar_2</dc:creator>
      <dc:date>2005-03-14T05:18:04Z</dc:date>
    </item>
  </channel>
</rss>

