<?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 and name resolution in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-and-name-resolution/m-p/2996294#M125503</link>
    <description>No, I cannot lookup anything via our internal DNS.  The really strange thing is that there are other groups here using the same smtp relay successfully, but from a Windows based mail program.  They have the same DNS setup as the Unix systems but it just seems to work for them.</description>
    <pubDate>Thu, 12 Jun 2003 21:16:02 GMT</pubDate>
    <dc:creator>Christopher Little_2</dc:creator>
    <dc:date>2003-06-12T21:16:02Z</dc:date>
    <item>
      <title>sendmail and name resolution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-and-name-resolution/m-p/2996287#M125496</link>
      <description>I'm having a problem getting sendmail to send e-mail to external e-mail addresses.  I'm currently routing all outbound smtp mail through an smtp relay.  I only have internal dns (can't resolve internet addresses).&lt;BR /&gt;&lt;BR /&gt;If I telnet directly to the smtp relay, I can send an e-mail to an external address.  This at least tells me that the smtp relay is working correctly.  When I try to send from my HP-UX system, this is what I get in the mail.log file when trying to send an e-mail to boomshnka@yahoo.com from my address (christopher.little@gx.novartis.com):&lt;BR /&gt;&lt;BR /&gt;Jun 12 15:31:00 usbrsapl sendmail[20180]: PAA20180: from=littlch1, size=141, class=0, pri=30141, nrcpts=1, msgid=&amp;lt;200306&lt;BR /&gt;122131.PAA20180@mail.novartis.com&amp;gt;, relay=littlch1@localhost                                                            &lt;BR /&gt;Jun 12 15:31:00 usbrsapl sendmail[20182]: PAA20180: to=boomshnka@yahoo.com, ctladdr=littlch1 (204/20), delay=00:00:00, x&lt;BR /&gt;delay=00:00:00, mailer=esmtp, relay=yahoo.com, stat=Host unknown (Name server: yahoo.com: host not found)               &lt;BR /&gt;&lt;BR /&gt;Jun 12 15:31:00 usbrsapl sendmail[20182]: PAA20180: PAA20182: DSN: Host unknown (Name server: yahoo.com: host not found)&lt;BR /&gt;&lt;BR /&gt;Jun 12 15:31:01 usbrsapl sendmail[20182]: PAA20182: to=christopher.little@gx.novartis.com, delay=00:00:01, xdelay=00:00:&lt;BR /&gt;01, mailer=esmtp, relay=nvchbs-mailgw1.is.chbs. [192.37.33.74], stat=Sent (XAA11961 Message accepted for delivery)   &lt;BR /&gt;&lt;BR /&gt;One promissing solution that I found involved commenting the section "pass to name server to make hostname canonical" and then changing all occurences of "F=mDFMuX" to "F=0mDFMuX" under "SMTP Mailer speccification".  The following is what I get in the mail.log file when trying to send the same previous e-mail:&lt;BR /&gt;&lt;BR /&gt;Jun 12 15:41:32 usbrsapl sendmail[20457]: PAA20457: from=littlch1, size=138, class=0, pri=30138, nrcpts=1, msgid=&amp;lt;200306&lt;BR /&gt;122141.PAA20457@mail.novartis.com&amp;gt;, relay=littlch1@localhost                                                            &lt;BR /&gt;Jun 12 15:41:33 usbrsapl sendmail[20460]: PAA20457: to=boomshnka@yahoo.com, ctladdr=littlch1 (204/20), delay=00:00:01, x&lt;BR /&gt;delay=00:00:01, mailer=esmtp, relay=yahoo.com, stat=Host unknown (Name server: yahoo.com: host not found)               &lt;BR /&gt;&lt;BR /&gt;Jun 12 15:41:33 usbrsapl sendmail[20460]: PAA20457: PAA20460: DSN: Host unknown (Name server: yahoo.com: host not found)&lt;BR /&gt;&lt;BR /&gt;Jun 12 15:41:33 usbrsapl sendmail[20460]: PAA20460: to=christopher.little@gx.novartis.com, delay=00:00:00, xdelay=00:00:&lt;BR /&gt;00, mailer=esmtp, relay=gx.novartis.com, stat=Host unknown (Name server: gx.novartis.com: no data known)                &lt;BR /&gt;&lt;BR /&gt;Jun 12 15:41:33 usbrsapl sendmail[20460]: PAA20460: PAB20460: return to sender: Host unknown (Name server: gx.novartis.c&lt;BR /&gt;om: no data known)&lt;BR /&gt;&lt;BR /&gt;Jun 12 15:41:33 usbrsapl sendmail[20460]: PAB20460: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, stat=Sent   &lt;BR /&gt;&lt;BR /&gt;This actually turns out to make me worse off than before as I can't even send to local address anymore.  I get the same errors as stated above.  Any ideas?  I'd be glad to send an entire copy of my sendmail.cf file and any other info to anybody that's willing to take a crack at it.  Thanks.&lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Thu, 12 Jun 2003 20:44:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-and-name-resolution/m-p/2996287#M125496</guid>
      <dc:creator>Christopher Little_2</dc:creator>
      <dc:date>2003-06-12T20:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail and name resolution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-and-name-resolution/m-p/2996288#M125497</link>
      <description>I'd look into your /etc/resolv.conf file.&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Jun 2003 20:57:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-and-name-resolution/m-p/2996288#M125497</guid>
      <dc:creator>Paul Sperry</dc:creator>
      <dc:date>2003-06-12T20:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail and name resolution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-and-name-resolution/m-p/2996289#M125498</link>
      <description>Sounds stupid, but why don't you add a second public DNS server to your private one ?&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Jun 2003 21:02:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-and-name-resolution/m-p/2996289#M125498</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2003-06-12T21:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail and name resolution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-and-name-resolution/m-p/2996290#M125499</link>
      <description>Paul - resolv.conf is set to use files and then dns.  It has to be this way and I can't change it.&lt;BR /&gt;&lt;BR /&gt;Jerome - I have no control over our DNS environment and would likely have no luck in getting it changed.&lt;BR /&gt;&lt;BR /&gt;Thanks for the replies guys.  I'm really just hoping that there is some bit of magic out there for forcing the name resolution to take place at the smtp relay.&lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Thu, 12 Jun 2003 21:05:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-and-name-resolution/m-p/2996290#M125499</guid>
      <dc:creator>Christopher Little_2</dc:creator>
      <dc:date>2003-06-12T21:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail and name resolution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-and-name-resolution/m-p/2996291#M125500</link>
      <description>No that should be in your /etc/nsswitch.conf file.&lt;BR /&gt;&lt;BR /&gt;/etc/resolve.conf should have&lt;BR /&gt;&lt;BR /&gt;domain YourDomain&lt;BR /&gt;nameserver IP_of_your_nameserver</description>
      <pubDate>Thu, 12 Jun 2003 21:08:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-and-name-resolution/m-p/2996291#M125500</guid>
      <dc:creator>Paul Sperry</dc:creator>
      <dc:date>2003-06-12T21:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail and name resolution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-and-name-resolution/m-p/2996292#M125501</link>
      <description>Sorry about that, brain is a little frazzled today.  The resolv.conf file is setup correctly and resolves everything internal with no problems.</description>
      <pubDate>Thu, 12 Jun 2003 21:10:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-and-name-resolution/m-p/2996292#M125501</guid>
      <dc:creator>Christopher Little_2</dc:creator>
      <dc:date>2003-06-12T21:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail and name resolution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-and-name-resolution/m-p/2996293#M125502</link>
      <description>can you lookup any thing?&lt;BR /&gt;&lt;BR /&gt;# nslookup msn.com&lt;BR /&gt;Using /etc/hosts on:  moron&lt;BR /&gt;&lt;BR /&gt;looking up FILES&lt;BR /&gt;Trying DNS&lt;BR /&gt;Non-authoritative answer:&lt;BR /&gt;Name:    msn.com&lt;BR /&gt;Address:  207.68.172.246&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Jun 2003 21:12:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-and-name-resolution/m-p/2996293#M125502</guid>
      <dc:creator>Paul Sperry</dc:creator>
      <dc:date>2003-06-12T21:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail and name resolution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-and-name-resolution/m-p/2996294#M125503</link>
      <description>No, I cannot lookup anything via our internal DNS.  The really strange thing is that there are other groups here using the same smtp relay successfully, but from a Windows based mail program.  They have the same DNS setup as the Unix systems but it just seems to work for them.</description>
      <pubDate>Thu, 12 Jun 2003 21:16:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-and-name-resolution/m-p/2996294#M125503</guid>
      <dc:creator>Christopher Little_2</dc:creator>
      <dc:date>2003-06-12T21:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail and name resolution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-and-name-resolution/m-p/2996295#M125504</link>
      <description>You need to initiate mail relay if you can't resolve outside hosts directly.&lt;BR /&gt;&lt;BR /&gt;Before you start, the server you intend to relay off of must accept relay mail from your HP box.  This can be a pain with exchange, but it can be done.  Its a lot easier to set up on a firewall/smtp server like Symmantec.&lt;BR /&gt;&lt;BR /&gt;in the sendmail.cf file&lt;BR /&gt;&lt;BR /&gt;DS&lt;BR /&gt;[IP_address_of_relay_server]&lt;BR /&gt;&lt;BR /&gt;save it&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/sendmail stop&lt;BR /&gt;/sbin/init.d/sendmail start&lt;BR /&gt;&lt;BR /&gt;You are ready to run a test mail.&lt;BR /&gt;&lt;BR /&gt;sendmail -v -d8.99 -d38.99 someone@yahoo.com &lt;ENTER&gt;&lt;BR /&gt;&lt;BR /&gt;Type a line of text &lt;ENTER&gt;&lt;BR /&gt;&lt;BR /&gt;type a dot(period) &lt;ENTER&gt;&lt;BR /&gt;&lt;BR /&gt;You will get good diagnostics.&lt;BR /&gt;&lt;BR /&gt;One note: Yahoo aol and others will not accept mail unless the sending server resolves via public internet dns.&lt;BR /&gt;&lt;BR /&gt;In mail relay, the relay server needs to have an address that can be resolved publically.  If that happens to be your HP-UX server down the line in problem resolution, you sending mail server is going to need a publically resolvable name EVEN if its behind a firewall and that name resolves to an external mail server or isp.&lt;BR /&gt;&lt;BR /&gt;Few ways to do that.&lt;BR /&gt;&lt;BR /&gt;the Dj parameter in sendmail.cf&lt;BR /&gt;&lt;BR /&gt;uncomment it and make it&lt;BR /&gt;&lt;BR /&gt;Djmail.yourdomain.net&lt;BR /&gt;&lt;BR /&gt;Or make your hostname in /etc/rc.config.d/netconf publically resolveable.  That's not always an option on the business side of the firewall.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;/ENTER&gt;&lt;/ENTER&gt;&lt;/ENTER&gt;</description>
      <pubDate>Thu, 12 Jun 2003 23:51:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-and-name-resolution/m-p/2996295#M125504</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-06-12T23:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail and name resolution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-and-name-resolution/m-p/2996296#M125505</link>
      <description>If I understand you correctly, you want to have all your e-mail relayed through a "smart" mail host, which is capable of sending mail to external hosts.&lt;BR /&gt;&lt;BR /&gt;This means you should have the DS macro defined in your sendmail.cf file like so:&lt;BR /&gt;&lt;BR /&gt;DSfw-mail1.novartis.com&lt;BR /&gt;&lt;BR /&gt;I'm taking this from your domain's MX records.  Your relay's internal hostname may be different.&lt;BR /&gt;&lt;BR /&gt;You also need to be sure that either /etc/hosts or your internal DNS can resolve the hostname of your mail relay.  From there, all e-mail should flow correctly.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 13 Jun 2003 00:21:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-and-name-resolution/m-p/2996296#M125505</guid>
      <dc:creator>Bill Douglass</dc:creator>
      <dc:date>2003-06-13T00:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail and name resolution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-and-name-resolution/m-p/2996297#M125506</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;I'd say Steven is correct in that you need to set the DS paramater in the /etc/mail/sendmail.cf file as follows&lt;BR /&gt;DS&lt;NAME or="" ip="" address="" of="" your="" smtp="" relay="" server=""&gt;. &lt;BR /&gt;If you can resolve internal DNS names (ie your smtp relay) then you can use name in place of IP address.&lt;BR /&gt;&lt;BR /&gt;Its a while since I've done this but from memory that works fine.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Con&lt;/NAME&gt;</description>
      <pubDate>Fri, 13 Jun 2003 00:30:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-and-name-resolution/m-p/2996297#M125506</guid>
      <dc:creator>Con O'Kelly</dc:creator>
      <dc:date>2003-06-13T00:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail and name resolution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-and-name-resolution/m-p/2996298#M125507</link>
      <description>After observing the o/p given by you , it seems to be dns error. if u give #nslookup yahoo.com then it should show you the address of yahoo site. Also you can try #./sendmail -v xyz@yahoo.com. This will through some erros on to the screen. If it gives error like host unknown then your server is not able to connnect to DNS or your web server entry has been removed from the ISP's DNS</description>
      <pubDate>Fri, 13 Jun 2003 05:33:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-and-name-resolution/m-p/2996298#M125507</guid>
      <dc:creator>yogesh_4</dc:creator>
      <dc:date>2003-06-13T05:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail and name resolution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-and-name-resolution/m-p/2996299#M125508</link>
      <description>Bill, you nailed it.  As soon as I changed the smart relay entry from mail.novartis.com to fw-mail1.novartis.com it worked.  Thanks!!&lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Fri, 13 Jun 2003 15:29:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-and-name-resolution/m-p/2996299#M125508</guid>
      <dc:creator>Christopher Little_2</dc:creator>
      <dc:date>2003-06-13T15:29:46Z</dc:date>
    </item>
  </channel>
</rss>

