<?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 - masquerading with no dns problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-masquerading-with-no-dns-problem/m-p/3460310#M848656</link>
    <description>Hi everybody, I've a problem with sendmail.&lt;BR /&gt;&lt;BR /&gt;I have to send mail to an external mail server (smtp.it.XXXX.com) but this server can accept only mail from YYYY@XXXX.com.&lt;BR /&gt;&lt;BR /&gt;All our UX server send mail with sendmail like YYYY@hostname.XXXX.com so...we're not able to send mail.&lt;BR /&gt;&lt;BR /&gt;So far I did:&lt;BR /&gt;&lt;BR /&gt;1) sendmail.cf&lt;BR /&gt; DMXXXX.com&lt;BR /&gt; Dj$w.XXXX.com&lt;BR /&gt; CE commented &lt;BR /&gt;&lt;BR /&gt;2) Restarted sendmail&lt;BR /&gt;3) verified with sendmail -v zzzz@XXXX.com&lt;BR /&gt; i Got:&lt;BR /&gt;  HOSTNAME:/etc/mail# sendmail -v pippo.baudo@XXXX.com&lt;BR /&gt;XXXX.com: Name server timeout&lt;BR /&gt;pippo.baudo@XXXX.com... Transient parse error -- message queued for future delivery&lt;BR /&gt;&lt;BR /&gt;4) verified nnswitch.conf which contains:&lt;BR /&gt;        hosts: files dns&lt;BR /&gt;5) file resolv.conf not present because we ar not using dns but only hosts file.&lt;BR /&gt;&lt;BR /&gt;in host file we have every server...and the smtp server too. I can ping smtp.it.XXXX.com from everywhere thanks to hosts file.&lt;BR /&gt;&lt;BR /&gt;I think the problem is about the fully qualified name...or the XXXX.com which is not known from the server...&lt;BR /&gt;&lt;BR /&gt;Does anybody have an idea?&lt;BR /&gt;Thanks in advance&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 11 Jan 2005 07:45:24 GMT</pubDate>
    <dc:creator>Emanuele_4</dc:creator>
    <dc:date>2005-01-11T07:45:24Z</dc:date>
    <item>
      <title>sendmail - masquerading with no dns problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-masquerading-with-no-dns-problem/m-p/3460310#M848656</link>
      <description>Hi everybody, I've a problem with sendmail.&lt;BR /&gt;&lt;BR /&gt;I have to send mail to an external mail server (smtp.it.XXXX.com) but this server can accept only mail from YYYY@XXXX.com.&lt;BR /&gt;&lt;BR /&gt;All our UX server send mail with sendmail like YYYY@hostname.XXXX.com so...we're not able to send mail.&lt;BR /&gt;&lt;BR /&gt;So far I did:&lt;BR /&gt;&lt;BR /&gt;1) sendmail.cf&lt;BR /&gt; DMXXXX.com&lt;BR /&gt; Dj$w.XXXX.com&lt;BR /&gt; CE commented &lt;BR /&gt;&lt;BR /&gt;2) Restarted sendmail&lt;BR /&gt;3) verified with sendmail -v zzzz@XXXX.com&lt;BR /&gt; i Got:&lt;BR /&gt;  HOSTNAME:/etc/mail# sendmail -v pippo.baudo@XXXX.com&lt;BR /&gt;XXXX.com: Name server timeout&lt;BR /&gt;pippo.baudo@XXXX.com... Transient parse error -- message queued for future delivery&lt;BR /&gt;&lt;BR /&gt;4) verified nnswitch.conf which contains:&lt;BR /&gt;        hosts: files dns&lt;BR /&gt;5) file resolv.conf not present because we ar not using dns but only hosts file.&lt;BR /&gt;&lt;BR /&gt;in host file we have every server...and the smtp server too. I can ping smtp.it.XXXX.com from everywhere thanks to hosts file.&lt;BR /&gt;&lt;BR /&gt;I think the problem is about the fully qualified name...or the XXXX.com which is not known from the server...&lt;BR /&gt;&lt;BR /&gt;Does anybody have an idea?&lt;BR /&gt;Thanks in advance&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Jan 2005 07:45:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-masquerading-with-no-dns-problem/m-p/3460310#M848656</guid>
      <dc:creator>Emanuele_4</dc:creator>
      <dc:date>2005-01-11T07:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail - masquerading with no dns problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-masquerading-with-no-dns-problem/m-p/3460311#M848657</link>
      <description>Did you try as follows.&lt;BR /&gt;&lt;BR /&gt;mailx -s "Subject" -r "YYYY@XXXX.com" "to_adress"&lt;BR /&gt;&lt;BR /&gt;also you may want to try -f option of sendmail so that mail sent looks like it is sent from YYYY@XXXX.com&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Tue, 11 Jan 2005 08:01:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-masquerading-with-no-dns-problem/m-p/3460311#M848657</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-01-11T08:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail - masquerading with no dns problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-masquerading-with-no-dns-problem/m-p/3460312#M848658</link>
      <description>I tried your command but it seems that it's not working fine:&lt;BR /&gt;&lt;BR /&gt;after the command I run mailq and find out:&lt;BR /&gt;&lt;BR /&gt;j0BDFdw14181        0 Tue Jan 11 14:15 ema@XXXX.com&lt;BR /&gt;                 (host map: lookup (XXXX.com): deferred)&lt;BR /&gt;                                       pippo.baudo@XXXX.com&lt;BR /&gt;&lt;BR /&gt;The command was:&lt;BR /&gt;mailx -s "prova mailx" -r "ema@XXXX.com" "pippo.baudo@XXXX.com" &amp;lt; file</description>
      <pubDate>Tue, 11 Jan 2005 08:21:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-masquerading-with-no-dns-problem/m-p/3460312#M848658</guid>
      <dc:creator>Emanuele_4</dc:creator>
      <dc:date>2005-01-11T08:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail - masquerading with no dns problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-masquerading-with-no-dns-problem/m-p/3460313#M848659</link>
      <description>Verify your sendmail.cf setup with:&lt;BR /&gt;&lt;BR /&gt;mailq -d -v&lt;BR /&gt;&lt;BR /&gt;(the domain info will be at the end of the display)&lt;BR /&gt;&lt;BR /&gt;Then try this to get better debug info:&lt;BR /&gt;&lt;BR /&gt;sendmail -v -d0 -d1 -d0.4 -d1.5 -d2 -d6 -d6.5 -d10 -d11 -d30 -d45  pippo.baudo@XXXX.com &lt;TESTMAIL&gt;maildebug.log 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;make sure to have the "testmail" file created with something to send, and do this from a directory with sufficient space to create the maildebug.log file; it may be as much as a couple of meg.&lt;BR /&gt;&lt;BR /&gt;mark&lt;/TESTMAIL&gt;</description>
      <pubDate>Tue, 11 Jan 2005 09:57:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-masquerading-with-no-dns-problem/m-p/3460313#M848659</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2005-01-11T09:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail - masquerading with no dns problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-masquerading-with-no-dns-problem/m-p/3460314#M848660</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Reset your sendmail configuration to what it was before and then try Anil's suggestion,&lt;BR /&gt;&lt;BR /&gt;mailx -s "Subject" -r "YYYY@XXXX.com" "to_adress"&lt;BR /&gt;&lt;BR /&gt;Here YYYY@XXXX.com is a vaild email address, could be your own official email address. and XXXX.com is a valid domain.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Jan 2005 10:23:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-masquerading-with-no-dns-problem/m-p/3460314#M848660</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2005-01-11T10:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail - masquerading with no dns problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-masquerading-with-no-dns-problem/m-p/3460315#M848661</link>
      <description>Suggestion:&lt;BR /&gt;hostname.XXXX.com&lt;BR /&gt;&lt;BR /&gt;Make it a valid DNS entry in your DNS server that is pointed to in /etc/resolv.conf&lt;BR /&gt;&lt;BR /&gt;Create the server on the UX box and add DNS re cords to support your environment. You need not change nsswitch.conf&lt;BR /&gt;&lt;BR /&gt;Then the mail will get delievered.&lt;BR /&gt;&lt;BR /&gt;You could also use smtp relay in sendmail.cf&lt;BR /&gt;&lt;BR /&gt;DShostname.relayserver.com&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;DS&lt;BR /&gt;[ip address]&lt;BR /&gt;&lt;BR /&gt;save sendmail.cf&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;SEP&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Jan 2005 10:32:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-masquerading-with-no-dns-problem/m-p/3460315#M848661</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-01-11T10:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail - masquerading with no dns problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-masquerading-with-no-dns-problem/m-p/3460316#M848662</link>
      <description>thank you very much for your suggestion...I think we are getting closer to resolv the problem.&lt;BR /&gt;&lt;BR /&gt;The log file is in attach but I'm thinking there could be a problem with the Dj parameter in the sedmail.cf file.&lt;BR /&gt;&lt;BR /&gt;I have &lt;BR /&gt;Dj$w.domain.com&lt;BR /&gt;where I think $w is the hostname &lt;BR /&gt;&lt;BR /&gt;so I already tried to put&lt;BR /&gt;Djdomain.com&lt;BR /&gt;but it doesn't work&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Jan 2005 10:34:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-masquerading-with-no-dns-problem/m-p/3460316#M848662</guid>
      <dc:creator>Emanuele_4</dc:creator>
      <dc:date>2005-01-11T10:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail - masquerading with no dns problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-masquerading-with-no-dns-problem/m-p/3460317#M848663</link>
      <description>Coment the Dj entry. You only need to have the correct IP and host name and fully qualified host name in your /etc/hosts file and sendmail should derive all that just fine.&lt;BR /&gt;&lt;BR /&gt;mailq -v -d to verify once you've made the changes.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;mark</description>
      <pubDate>Wed, 12 Jan 2005 09:33:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-masquerading-with-no-dns-problem/m-p/3460317#M848663</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2005-01-12T09:33:40Z</dc:date>
    </item>
  </channel>
</rss>

