<?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: How to suppress hostname in &amp;quot;telnet &amp;lt;IP&amp;gt; 25&amp;quot;? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-suppress-hostname-in-quot-telnet-lt-ip-gt-25-quot/m-p/3186482#M163897</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Edit /etc/mail/sendmail.cf file and search for "Greeting". Make the line to appear like&lt;BR /&gt;&lt;BR /&gt;O SmtpGreetingMessage=""&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
    <pubDate>Mon, 09 Feb 2004 11:10:20 GMT</pubDate>
    <dc:creator>Sridhar Bhaskarla</dc:creator>
    <dc:date>2004-02-09T11:10:20Z</dc:date>
    <item>
      <title>How to suppress hostname in "telnet &lt;IP&gt; 25"?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-suppress-hostname-in-quot-telnet-lt-ip-gt-25-quot/m-p/3186481#M163896</link>
      <description>Folks,&lt;BR /&gt;&lt;BR /&gt;I would like to know how to configure sendmail to suppress hostname in the situation below.  The command is run in Windows env.&lt;BR /&gt;&lt;BR /&gt;C:\ telnet hp-uxServerIP 25&lt;BR /&gt;220  ESMTP&lt;BR /&gt;221 hostname.domain closing connection&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Connection to host lost.&lt;BR /&gt;C:\&lt;BR /&gt;&lt;BR /&gt;How can you suppress "221 hostname.domain closing connection"?  Thanks.&lt;BR /&gt;&lt;BR /&gt;Hai</description>
      <pubDate>Mon, 09 Feb 2004 11:06:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-suppress-hostname-in-quot-telnet-lt-ip-gt-25-quot/m-p/3186481#M163896</guid>
      <dc:creator>Hai Nguyen_1</dc:creator>
      <dc:date>2004-02-09T11:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to suppress hostname in "telnet &lt;IP&gt; 25"?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-suppress-hostname-in-quot-telnet-lt-ip-gt-25-quot/m-p/3186482#M163897</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Edit /etc/mail/sendmail.cf file and search for "Greeting". Make the line to appear like&lt;BR /&gt;&lt;BR /&gt;O SmtpGreetingMessage=""&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Mon, 09 Feb 2004 11:10:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-suppress-hostname-in-quot-telnet-lt-ip-gt-25-quot/m-p/3186482#M163897</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-02-09T11:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to suppress hostname in "telnet &lt;IP&gt; 25"?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-suppress-hostname-in-quot-telnet-lt-ip-gt-25-quot/m-p/3186483#M163898</link>
      <description>This is probably a sendmail server side configuration issue.&lt;BR /&gt;&lt;BR /&gt;You can quick fix it by changing the Dj parameter in sendmail.cf on the server.&lt;BR /&gt;&lt;BR /&gt;It picks up the hostname if its not set.&lt;BR /&gt;&lt;BR /&gt;You can set it but be careful.&lt;BR /&gt;&lt;BR /&gt;the Dj parameter when set is picked up on outbound mail. If its not fully qualified and can not be resolved aol and other major mail systems will reject the mail.&lt;BR /&gt;&lt;BR /&gt;After making the change:&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;Done.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 09 Feb 2004 11:11:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-suppress-hostname-in-quot-telnet-lt-ip-gt-25-quot/m-p/3186483#M163898</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-02-09T11:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to suppress hostname in "telnet &lt;IP&gt; 25"?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-suppress-hostname-in-quot-telnet-lt-ip-gt-25-quot/m-p/3186484#M163899</link>
      <description>Hi (again),&lt;BR /&gt;&lt;BR /&gt;Hmmm.. you asked for "closing connection". I don't think you can do it because I believe it isn't really coming from the server side but it's the IP that is getting resolved at the localhost.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Mon, 09 Feb 2004 11:12:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-suppress-hostname-in-quot-telnet-lt-ip-gt-25-quot/m-p/3186484#M163899</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-02-09T11:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to suppress hostname in "telnet &lt;IP&gt; 25"?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-suppress-hostname-in-quot-telnet-lt-ip-gt-25-quot/m-p/3186485#M163900</link>
      <description>I think you need to check both Sri's suggestion and mine.&lt;BR /&gt;&lt;BR /&gt;It will default to hostname under certain circumstances.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 09 Feb 2004 11:14:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-suppress-hostname-in-quot-telnet-lt-ip-gt-25-quot/m-p/3186485#M163900</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-02-09T11:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to suppress hostname in "telnet &lt;IP&gt; 25"?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-suppress-hostname-in-quot-telnet-lt-ip-gt-25-quot/m-p/3186486#M163901</link>
      <description>Sri,&lt;BR /&gt;&lt;BR /&gt;Thanks for your quick reply. I already have the greeting configured your way which suppresses the hostname info in the initial connection.  My question applies to the "closing connection".&lt;BR /&gt;&lt;BR /&gt;Hai</description>
      <pubDate>Mon, 09 Feb 2004 11:14:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-suppress-hostname-in-quot-telnet-lt-ip-gt-25-quot/m-p/3186486#M163901</guid>
      <dc:creator>Hai Nguyen_1</dc:creator>
      <dc:date>2004-02-09T11:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to suppress hostname in "telnet &lt;IP&gt; 25"?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-suppress-hostname-in-quot-telnet-lt-ip-gt-25-quot/m-p/3186487#M163902</link>
      <description>Sri,&lt;BR /&gt;&lt;BR /&gt;I know for sure the hostname.domain was not resolved at the localhost (client site).&lt;BR /&gt;&lt;BR /&gt;Steve,&lt;BR /&gt;&lt;BR /&gt;Dj is not being used in my sendmail.cf.  And I do not need to use it.&lt;BR /&gt;&lt;BR /&gt;All,&lt;BR /&gt;Let me try to rephrase my question:&lt;BR /&gt;&lt;BR /&gt;All I need is to suppress hostname.domain in the "221..." line if possible.  Thanks again for all your help.&lt;BR /&gt;&lt;BR /&gt;Hai</description>
      <pubDate>Mon, 09 Feb 2004 11:25:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-suppress-hostname-in-quot-telnet-lt-ip-gt-25-quot/m-p/3186487#M163902</guid>
      <dc:creator>Hai Nguyen_1</dc:creator>
      <dc:date>2004-02-09T11:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to suppress hostname in "telnet &lt;IP&gt; 25"?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-suppress-hostname-in-quot-telnet-lt-ip-gt-25-quot/m-p/3186488#M163903</link>
      <description>I have considerable experience with sendmail. If you take Sri's advice(which is good) yo may find the message defaults to the lostname of the system.&lt;BR /&gt;&lt;BR /&gt;The Dj directive lets you overwrite it.&lt;BR /&gt;&lt;BR /&gt;As far as the 221 message goes, thats how sendmail was written.  You can take it change the source and recompile it, or use another MTA to change the behavior.&lt;BR /&gt;&lt;BR /&gt;sendmail tells people when it disconnects them. I don't know how to surpress that behavior.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 09 Feb 2004 11:29:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-suppress-hostname-in-quot-telnet-lt-ip-gt-25-quot/m-p/3186488#M163903</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-02-09T11:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to suppress hostname in "telnet &lt;IP&gt; 25"?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-suppress-hostname-in-quot-telnet-lt-ip-gt-25-quot/m-p/3186489#M163904</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;I am not sure but does vrfy off stop this happening or is it just username.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Paula</description>
      <pubDate>Mon, 09 Feb 2004 11:43:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-suppress-hostname-in-quot-telnet-lt-ip-gt-25-quot/m-p/3186489#M163904</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2004-02-09T11:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to suppress hostname in "telnet &lt;IP&gt; 25"?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-suppress-hostname-in-quot-telnet-lt-ip-gt-25-quot/m-p/3186490#M163905</link>
      <description>Paula,&lt;BR /&gt;&lt;BR /&gt;goaway,noexpn,novrfy have been applied.  It is hostname.domain which I like to suppress, not username?  By the way, I think Steve is right.  There is no way to suppress hostname.domain in "221 hostname.domain closing connection" unless I try another MTA or compile the source code myself.  I saw this string "221 %s closing connection" in HP-compiled sendmail.&lt;BR /&gt;&lt;BR /&gt;I close this thread here.  Thank you all for your help.&lt;BR /&gt;&lt;BR /&gt;Hai</description>
      <pubDate>Mon, 09 Feb 2004 11:49:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-suppress-hostname-in-quot-telnet-lt-ip-gt-25-quot/m-p/3186490#M163905</guid>
      <dc:creator>Hai Nguyen_1</dc:creator>
      <dc:date>2004-02-09T11:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to suppress hostname in "telnet &lt;IP&gt; 25"?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-suppress-hostname-in-quot-telnet-lt-ip-gt-25-quot/m-p/3186491#M163906</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You are right. It does come from the server side. I just ran a tusc on the telnet&lt;BR /&gt;&lt;BR /&gt;&lt;DELETED lines=""&gt;&lt;BR /&gt;socket(AF_INET, SOCK_STREAM, 0) ............................ = 3&lt;BR /&gt;&lt;DELETED lines=""&gt;&lt;BR /&gt;send(3, "q u i t \r\n", 6, 0) .............................. = 6&lt;BR /&gt;select(2048, 0x40005860, 0x40005760, 0x40005660, 0x40004b48) = 1&lt;BR /&gt;recv(3, "2 2 1   hostname.domain ".., 1024, 0) ..... = 48&lt;BR /&gt;&lt;DELETED lines=""&gt;&lt;BR /&gt;&lt;BR /&gt;As indicated by Steven, you can suppress it by manipulating "Dj" macro. But that may open up other problems as you are overwriting the servers' domain.&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;&lt;BR /&gt;&lt;/DELETED&gt;&lt;/DELETED&gt;&lt;/DELETED&gt;</description>
      <pubDate>Mon, 09 Feb 2004 11:59:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-suppress-hostname-in-quot-telnet-lt-ip-gt-25-quot/m-p/3186491#M163906</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-02-09T11:59:40Z</dc:date>
    </item>
  </channel>
</rss>

