<?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 sendmail - relay Host unknown since adding dns. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-host-unknown-since-adding-dns/m-p/4859641#M396161</link>
    <description>Since adding dns to my hpux 11i box sendmail no longer works.&lt;BR /&gt;&lt;BR /&gt;In the log i receive&lt;BR /&gt;&lt;BR /&gt;mailer=relay, relay=*.*.24.40, stat=Host unknown &lt;BR /&gt;&lt;BR /&gt;I've added the mail relay into /etc/hosts and changed the lookup order to file then dns in nsswitch.conf.&lt;BR /&gt;&lt;BR /&gt;i've also changed the /etc/mail/service.switch file to hosts then dns with no luck.&lt;BR /&gt;&lt;BR /&gt;How can i stop sendmail from using dns&lt;BR /&gt;&lt;BR /&gt;Any ideas?&lt;BR /&gt;&lt;BR /&gt;Ta&lt;BR /&gt;&lt;BR /&gt;George&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 06 Sep 2004 05:22:42 GMT</pubDate>
    <dc:creator>George_Dodds</dc:creator>
    <dc:date>2004-09-06T05:22:42Z</dc:date>
    <item>
      <title>sendmail - relay Host unknown since adding dns.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-host-unknown-since-adding-dns/m-p/4859641#M396161</link>
      <description>Since adding dns to my hpux 11i box sendmail no longer works.&lt;BR /&gt;&lt;BR /&gt;In the log i receive&lt;BR /&gt;&lt;BR /&gt;mailer=relay, relay=*.*.24.40, stat=Host unknown &lt;BR /&gt;&lt;BR /&gt;I've added the mail relay into /etc/hosts and changed the lookup order to file then dns in nsswitch.conf.&lt;BR /&gt;&lt;BR /&gt;i've also changed the /etc/mail/service.switch file to hosts then dns with no luck.&lt;BR /&gt;&lt;BR /&gt;How can i stop sendmail from using dns&lt;BR /&gt;&lt;BR /&gt;Any ideas?&lt;BR /&gt;&lt;BR /&gt;Ta&lt;BR /&gt;&lt;BR /&gt;George&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Sep 2004 05:22:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-host-unknown-since-adding-dns/m-p/4859641#M396161</guid>
      <dc:creator>George_Dodds</dc:creator>
      <dc:date>2004-09-06T05:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail - relay Host unknown since adding dns.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-host-unknown-since-adding-dns/m-p/4859642#M396162</link>
      <description>I would check &lt;BR /&gt;&lt;BR /&gt;1.The machine entry is made on the DNS server&lt;BR /&gt;2.check the sendmail.cf file for&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;DS&lt;MACHINE name="" with="" fqdn=""&gt;&lt;BR /&gt;Dj$w&lt;DOMAIN-NAME&gt;&lt;BR /&gt;&lt;BR /&gt;If the changes were not done there change them and restart sendmail&lt;/DOMAIN-NAME&gt;&lt;/MACHINE&gt;</description>
      <pubDate>Mon, 06 Sep 2004 05:28:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-host-unknown-since-adding-dns/m-p/4859642#M396162</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2004-09-06T05:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail - relay Host unknown since adding dns.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-host-unknown-since-adding-dns/m-p/4859643#M396163</link>
      <description>The mail relay server has no entry on the dns server which i dont have access to.&lt;BR /&gt;&lt;BR /&gt;I want sendmail to bypass dns as it used to work fine without it.&lt;BR /&gt;&lt;BR /&gt;DNS setting on unix box are fine.</description>
      <pubDate>Mon, 06 Sep 2004 05:31:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-host-unknown-since-adding-dns/m-p/4859643#M396163</guid>
      <dc:creator>George_Dodds</dc:creator>
      <dc:date>2004-09-06T05:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail - relay Host unknown since adding dns.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-host-unknown-since-adding-dns/m-p/4859644#M396164</link>
      <description>If the relay host does not have entry in the DNS then how will sendmail resolve it.&lt;BR /&gt;&lt;BR /&gt;To my understanding earlier you would have the relayhost entry in /etc/hosts and probably the sendmail could resolve it.&lt;BR /&gt;&lt;BR /&gt;Now you are using DNS and it has to have an entry for relayhost to resolve.&lt;BR /&gt;&lt;BR /&gt;Alternatively you can try changing the files option in /etc/nsswitch.conf file to &lt;BR /&gt;&lt;BR /&gt;files  dns[unavail=continue][notfound=continue] hosts</description>
      <pubDate>Mon, 06 Sep 2004 05:36:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-host-unknown-since-adding-dns/m-p/4859644#M396164</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2004-09-06T05:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail - relay Host unknown since adding dns.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-host-unknown-since-adding-dns/m-p/4859645#M396165</link>
      <description>files dns[unavail=continue][notfound=continue] hosts &lt;BR /&gt;&lt;BR /&gt;will make sure to check the hosts file for resolving relayhost if not found on the DNS</description>
      <pubDate>Mon, 06 Sep 2004 05:37:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-host-unknown-since-adding-dns/m-p/4859645#M396165</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2004-09-06T05:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail - relay Host unknown since adding dns.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-host-unknown-since-adding-dns/m-p/4859646#M396166</link>
      <description>There was no entry in the hosts file originally i just added it in since this problem started.&lt;BR /&gt;&lt;BR /&gt;If the nsswitch.conf file has &lt;BR /&gt;hosts: files [NOTFOUND=continue] dns&lt;BR /&gt;surely then sendmail should be able to pick up the entry.&lt;BR /&gt;&lt;BR /&gt;I want sendmail to bypass dns completely</description>
      <pubDate>Mon, 06 Sep 2004 05:43:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-host-unknown-since-adding-dns/m-p/4859646#M396166</guid>
      <dc:creator>George_Dodds</dc:creator>
      <dc:date>2004-09-06T05:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail - relay Host unknown since adding dns.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-host-unknown-since-adding-dns/m-p/4859647#M396167</link>
      <description>I read part of your question and replied.&lt;BR /&gt;Its fine,&lt;BR /&gt;check /var/adm/syslog/mail.log&lt;BR /&gt;&lt;BR /&gt;REvert</description>
      <pubDate>Mon, 06 Sep 2004 05:51:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-host-unknown-since-adding-dns/m-p/4859647#M396167</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2004-09-06T05:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail - relay Host unknown since adding dns.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-host-unknown-since-adding-dns/m-p/4859648#M396168</link>
      <description>Hi there,&lt;BR /&gt;&lt;BR /&gt;Check the file: /etc/mail/sendmail.cw. It should contain the hostname and the fully-qualified hostname for the system.&lt;BR /&gt;&lt;BR /&gt;MB.</description>
      <pubDate>Mon, 06 Sep 2004 06:49:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-host-unknown-since-adding-dns/m-p/4859648#M396168</guid>
      <dc:creator>Marcel Boogert_1</dc:creator>
      <dc:date>2004-09-06T06:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail - relay Host unknown since adding dns.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-host-unknown-since-adding-dns/m-p/4859649#M396169</link>
      <description>can you do a test&lt;BR /&gt;&lt;BR /&gt;#sendmail -v &lt;MAIL-ADDRESS&gt;&lt;BR /&gt;TEST&lt;BR /&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Please revert with the output&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/MAIL-ADDRESS&gt;</description>
      <pubDate>Mon, 06 Sep 2004 06:53:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-host-unknown-since-adding-dns/m-p/4859649#M396169</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2004-09-06T06:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail - relay Host unknown since adding dns.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-host-unknown-since-adding-dns/m-p/4859650#M396170</link>
      <description># echo test | sendmail -v gdodds@primustel.co.uk&lt;BR /&gt;gdodds@primustel.co.uk... Host unknown (Name server: *.*.24.40: host not found)&lt;BR /&gt;/dead.letter... Saved message in /dead.letter</description>
      <pubDate>Mon, 06 Sep 2004 07:45:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-host-unknown-since-adding-dns/m-p/4859650#M396170</guid>
      <dc:creator>George_Dodds</dc:creator>
      <dc:date>2004-09-06T07:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail - relay Host unknown since adding dns.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-host-unknown-since-adding-dns/m-p/4859651#M396171</link>
      <description>*.*.24.40 is the ip of the relay server set in sendmail.cf&lt;BR /&gt;&lt;BR /&gt;# "Smart" relay host (may be null)&lt;BR /&gt;DS*.*.24.40</description>
      <pubDate>Mon, 06 Sep 2004 07:56:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-host-unknown-since-adding-dns/m-p/4859651#M396171</guid>
      <dc:creator>George_Dodds</dc:creator>
      <dc:date>2004-09-06T07:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail - relay Host unknown since adding dns.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-host-unknown-since-adding-dns/m-p/4859652#M396172</link>
      <description>Make sure that your DNS server has an IP and hostname in your /etc/hosts. nslookup will probably return a similar error. It is a common mistake in DNS configs to leave out the DNS server's name. Make sure tha nslookup can find the DNS server by name and by IP address (reverse lookup). sendmail is now critially dependent on name resolution to prevent many types of mail attacks.</description>
      <pubDate>Mon, 06 Sep 2004 09:27:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-host-unknown-since-adding-dns/m-p/4859652#M396172</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-09-06T09:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail - relay Host unknown since adding dns.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-host-unknown-since-adding-dns/m-p/4859653#M396173</link>
      <description>Yup DNS servers are listed in the hosts file.</description>
      <pubDate>Mon, 06 Sep 2004 09:39:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-host-unknown-since-adding-dns/m-p/4859653#M396173</guid>
      <dc:creator>George_Dodds</dc:creator>
      <dc:date>2004-09-06T09:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail - relay Host unknown since adding dns.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-host-unknown-since-adding-dns/m-p/4859654#M396174</link>
      <description>I would put the hostnames - not ips, in sendmail.cf&lt;BR /&gt;&lt;BR /&gt;DSrelayserver&lt;BR /&gt;&lt;BR /&gt;That way you know the resolver is working...&lt;BR /&gt;&lt;BR /&gt;I would also set the DM macro:&lt;BR /&gt;&lt;BR /&gt;DMyourdomain.com&lt;BR /&gt;&lt;BR /&gt;Make sure you restart sendmail...&lt;BR /&gt;&lt;BR /&gt;In your /etc/hosts, make sure FQDN is there as well&lt;BR /&gt;&lt;BR /&gt;X.X.24.40    relayserver   relayserver.yourdomain.com&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Sep 2004 10:12:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-host-unknown-since-adding-dns/m-p/4859654#M396174</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-09-06T10:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail - relay Host unknown since adding dns.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-host-unknown-since-adding-dns/m-p/4859655#M396175</link>
      <description>It seems your host resolvation getting problem.&lt;BR /&gt;&lt;BR /&gt;If your relay hosts are in /etc/hosts file then, use nsswitch.conf file hosts entry and &lt;BR /&gt;If you want to use only relay host resolved then,&lt;BR /&gt;&lt;BR /&gt;hosts: files dns&lt;BR /&gt;or &lt;BR /&gt;hosts: files[notfound=return] dns&lt;BR /&gt;&lt;BR /&gt;-- /etc/hosts ---&lt;BR /&gt;IP-Address of Relay hosts relayhost.domain.com relayhost&lt;BR /&gt;&lt;BR /&gt;nsquery hosts &lt;IP&gt; "file"&lt;BR /&gt;-&amp;gt; will check only on files of /etc/hosts&lt;BR /&gt;&lt;BR /&gt;If you are getting positive results then no problem will come on resolvation during mail&lt;BR /&gt;&lt;BR /&gt;If you are going to resolve with dns then,&lt;BR /&gt;&lt;BR /&gt;hosts: dns files&lt;BR /&gt;&lt;BR /&gt;-- /etc/resolv.conf&lt;BR /&gt;domain domainame.com&lt;BR /&gt;nameserver &lt;NAMESERVER1-IP&gt;&lt;BR /&gt;nameserver &lt;NAMESERVER2-IP&gt;&lt;BR /&gt;&lt;BR /&gt;You can check resolvation as,&lt;BR /&gt;&lt;BR /&gt;nslookup &lt;IP-ADDRESS&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;Regards&lt;BR /&gt;Muthu&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/IP-ADDRESS&gt;&lt;/NAMESERVER2-IP&gt;&lt;/NAMESERVER1-IP&gt;&lt;/IP&gt;</description>
      <pubDate>Mon, 06 Sep 2004 11:17:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-host-unknown-since-adding-dns/m-p/4859655#M396175</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-09-06T11:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail - relay Host unknown since adding dns.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-host-unknown-since-adding-dns/m-p/4859656#M396176</link>
      <description>Cracked it&lt;BR /&gt;&lt;BR /&gt;the relay server ip addy was a vitual ip and had no entry in dns, so i tried the actual ip of one of the relay servers but encountered reverse lookup problems.&lt;BR /&gt;&lt;BR /&gt;So i put the actual name of one of the relay server and hey presto it worked.&lt;BR /&gt;&lt;BR /&gt;i've got no mail redundancy if that relay server goes down, but it will do till the virtual i;p is given a name in dns.&lt;BR /&gt;&lt;BR /&gt;Thanks for all the replies&lt;BR /&gt;&lt;BR /&gt;Ta&lt;BR /&gt;&lt;BR /&gt;George</description>
      <pubDate>Tue, 07 Sep 2004 08:52:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-host-unknown-since-adding-dns/m-p/4859656#M396176</guid>
      <dc:creator>George_Dodds</dc:creator>
      <dc:date>2004-09-07T08:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail - relay Host unknown since adding dns.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-host-unknown-since-adding-dns/m-p/4859657#M396177</link>
      <description>.</description>
      <pubDate>Tue, 07 Sep 2004 08:52:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-host-unknown-since-adding-dns/m-p/4859657#M396177</guid>
      <dc:creator>George_Dodds</dc:creator>
      <dc:date>2004-09-07T08:52:40Z</dc:date>
    </item>
  </channel>
</rss>

