<?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 using dns and /etc/hosts in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-using-dns-and-etc-hosts/m-p/2849195#M821841</link>
    <description>I am currently working on mmsc service whereby delay is crucial . There are some partners who do not use DNS, hence we cannot resolve their Mx records thru DNS.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;        while brousing for sendmail() over the web, there are no clear indication on how this can be implemented. There are instructions of&lt;BR /&gt;using hosts files "only" , but not when used with DNS.&lt;BR /&gt;&lt;BR /&gt;Hello Christopher ,&lt;BR /&gt;&lt;BR /&gt;        I do not quite get what you mean , with this parameter, does it attempt to look at the host file first then at the DNS.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 22 Nov 2002 02:16:05 GMT</pubDate>
    <dc:creator>Phua Cheng Ching</dc:creator>
    <dc:date>2002-11-22T02:16:05Z</dc:date>
    <item>
      <title>sendmail using dns and /etc/hosts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-using-dns-and-etc-hosts/m-p/2849191#M821837</link>
      <description>I need to send mail to mailservers whose MX records can be resolved&lt;BR /&gt;by DNS and some which are not. Those which are not , i have configured&lt;BR /&gt;the FQDN in the /etc/hosts .&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I have amended the nsswitch.conf as follow :&lt;BR /&gt;&lt;BR /&gt;hosts files [NotFound=continue] dns&lt;BR /&gt;&lt;BR /&gt;However the sendmail seems to always query the DNS first when i attempt&lt;BR /&gt;to send to mailservers with domain name in etc/hosts. The sendmail will eventually&lt;BR /&gt;go thru after some timeout from the DNS query.&lt;BR /&gt;&lt;BR /&gt;I am a newbie in this area. Please help to advice on how i can configure &lt;BR /&gt;the sendmail in such a scenario, so as to minimize the time for delivery&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Nov 2002 04:26:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-using-dns-and-etc-hosts/m-p/2849191#M821837</guid>
      <dc:creator>Phua Cheng Ching</dc:creator>
      <dc:date>2002-11-21T04:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail using dns and /etc/hosts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-using-dns-and-etc-hosts/m-p/2849192#M821838</link>
      <description>Hi Phua,&lt;BR /&gt;&lt;BR /&gt;Sendmail has increasingly "hardened" in recent times &amp;amp; rightfully so.&lt;BR /&gt;By default it will always resolve forwards &amp;amp; backwards via DNS. So no-MX sites will be problematic. I'm not so sure this is a bad thing. I say live with the *delay* &amp;amp; encourage your destination domains to register MX records.&lt;BR /&gt;&lt;BR /&gt;My 2 cents,&lt;BR /&gt;Jeff</description>
      <pubDate>Thu, 21 Nov 2002 04:49:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-using-dns-and-etc-hosts/m-p/2849192#M821838</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-11-21T04:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail using dns and /etc/hosts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-using-dns-and-etc-hosts/m-p/2849193#M821839</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I already had the same problem. The only solution I had at this time was to modify in /etc/nsswitch.conf the line :&lt;BR /&gt;hosts: files dns&lt;BR /&gt;No options between files and dns.&lt;BR /&gt;&lt;BR /&gt;Fabrice</description>
      <pubDate>Thu, 21 Nov 2002 10:32:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-using-dns-and-etc-hosts/m-p/2849193#M821839</guid>
      <dc:creator>Fabrice Meynard</dc:creator>
      <dc:date>2002-11-21T10:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail using dns and /etc/hosts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-using-dns-and-etc-hosts/m-p/2849194#M821840</link>
      <description>Leave it all in DNS and set the &lt;BR /&gt;TryNullMXList&lt;BR /&gt;option (should be the default on stock HP sendmail):&lt;BR /&gt;&lt;BR /&gt;#  Try hosts with no MX records (option TryNullMXList):                        #&lt;BR /&gt;#                                                                              #&lt;BR /&gt;#      Sendmail always tries to lookup MX records for the destination host     #&lt;BR /&gt;#      and deliver to the Mail Exchanger with the best precedence (lowest      #&lt;BR /&gt;#      number).  If there are no MX records listed for the host or we are      #&lt;BR /&gt;#      the best Mail Exchanger in the list (lowest number), then we have a     #&lt;BR /&gt;#      "null MX list".  In such a case, sendmail will report a configuration   #&lt;BR /&gt;#      error unless the option "TryNullMXList" is set.  If this option is set  #&lt;BR /&gt;#      then sendmail will try to deliver directly to the destination host.     #&lt;BR /&gt;#      To disable this feature and have sendmail just return the mail with an  #&lt;BR /&gt;#      error, comment out the line:                                            #&lt;BR /&gt;#                                                                              #&lt;BR /&gt;#         O TryNullMXList&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Nov 2002 12:46:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-using-dns-and-etc-hosts/m-p/2849194#M821840</guid>
      <dc:creator>Christopher Caldwell</dc:creator>
      <dc:date>2002-11-21T12:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail using dns and /etc/hosts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-using-dns-and-etc-hosts/m-p/2849195#M821841</link>
      <description>I am currently working on mmsc service whereby delay is crucial . There are some partners who do not use DNS, hence we cannot resolve their Mx records thru DNS.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;        while brousing for sendmail() over the web, there are no clear indication on how this can be implemented. There are instructions of&lt;BR /&gt;using hosts files "only" , but not when used with DNS.&lt;BR /&gt;&lt;BR /&gt;Hello Christopher ,&lt;BR /&gt;&lt;BR /&gt;        I do not quite get what you mean , with this parameter, does it attempt to look at the host file first then at the DNS.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 22 Nov 2002 02:16:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-using-dns-and-etc-hosts/m-p/2849195#M821841</guid>
      <dc:creator>Phua Cheng Ching</dc:creator>
      <dc:date>2002-11-22T02:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail using dns and /etc/hosts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-using-dns-and-etc-hosts/m-p/2849196#M821842</link>
      <description>Hi (again) Phua,&lt;BR /&gt;&lt;BR /&gt;No, what he means is that IF the destination does NOT have an MX record, then the system would return the mail to sender with an error IF&lt;BR /&gt;&lt;BR /&gt;O TryNullMXList=T &lt;BR /&gt; &lt;BR /&gt;is commented out.&lt;BR /&gt;If it's not commented it WILL attempt to deliver directly to the specified host.&lt;BR /&gt;BUT this will not avoid the delay CAUSED by the destination domain not having an MX record. THAT'S the root of this problem. Sendmail is STILL going to check &amp;amp; I would NOT subvert that check for any reason. You'll quickly become the spammers favorite relay of choice in no time flat.&lt;BR /&gt;&lt;BR /&gt;Are they aware that the sendmail RFC specifically states that domains that wish to send/receive mail on the Internet MUST have MX records, have a postmaster designated to receive mail addressed to such &amp;amp; all the other *requirements* that the RFC spells out?&lt;BR /&gt;&lt;BR /&gt;I think that IF they need the mail that quick they ought to take the proper, required steps on their end to solve the problem THEY are causing.&lt;BR /&gt;&lt;BR /&gt;You can change the lookup order in /etc/nsswitch.conf to files THEN DNS, but I don't think that's going to solve the delay.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Fri, 22 Nov 2002 02:46:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-using-dns-and-etc-hosts/m-p/2849196#M821842</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-11-22T02:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail using dns and /etc/hosts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-using-dns-and-etc-hosts/m-p/2849197#M821843</link>
      <description>aol actually resolves the fully qualified domain name of the sender, before it accepts mail.&lt;BR /&gt;&lt;BR /&gt;yahoo accepts the mail but won't deliver it if the dns lookup doesn't work.&lt;BR /&gt;&lt;BR /&gt;To properly have mail get delivered, you need to be dns first.&lt;BR /&gt;&lt;BR /&gt;If you have a corporate stmp or mail realy box, the DS[IP addy of that server] in /etc/sendmail.cf maybe its /etc/mail/sendmail.cf Linux/HP-UX brain lock.&lt;BR /&gt;&lt;BR /&gt;you can get your mail to go, but before I got ANY mail off my HP-Ux boxes, I had to be DNS first on /etc/nsswitch.conf&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Thu, 19 Dec 2002 19:04:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-using-dns-and-etc-hosts/m-p/2849197#M821843</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2002-12-19T19:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail using dns and /etc/hosts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-using-dns-and-etc-hosts/m-p/2849198#M821844</link>
      <description>Jeff:&lt;BR /&gt;I don't know about the "sendmail" RFC, but the SMTP RFC (2821) says: "In other words, names that can be resolved to MX RRs or A RRs (as discussed in section 5) are permitted, as are CNAME RRs whose targets can be resolved, in turn, to MX or A RRs."&lt;BR /&gt;&lt;BR /&gt;Could you elaborate on the requirement for MX for Internet mail delivery?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Dec 2002 14:50:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-using-dns-and-etc-hosts/m-p/2849198#M821844</guid>
      <dc:creator>W.C. Epperson</dc:creator>
      <dc:date>2002-12-23T14:50:08Z</dc:date>
    </item>
  </channel>
</rss>

