<?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: Strange sendmail/telnet problem in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/strange-sendmail-telnet-problem/m-p/2890152#M89030</link>
    <description>If your firewall allows it try a traceroute to see where it goes wrong.  Compare to a traceroute from the internal gateway.  &lt;BR /&gt;&lt;BR /&gt;Could your ISP  have dropped your mailserver's ip address from its routing tables?  (Does the mail server have a real address or is the firewall doing a NAT?  IF it's Nat'd then this doesn't apply.)  &lt;BR /&gt;&lt;BR /&gt;When you did a tcpdump did you check that the sending address was correct?&lt;BR /&gt;&lt;BR /&gt;Can you change the ip address on the mail server temporarily to see if that lets you telnet?&lt;BR /&gt;&lt;BR /&gt;Ron</description>
    <pubDate>Thu, 30 Jan 2003 23:23:28 GMT</pubDate>
    <dc:creator>Ron Kinner</dc:creator>
    <dc:date>2003-01-30T23:23:28Z</dc:date>
    <item>
      <title>Strange sendmail/telnet problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/strange-sendmail-telnet-problem/m-p/2890147#M89025</link>
      <description>I have a strange problem which has just recently reared it's head.  We have a mail relay within our DMZ, handling mail for our two internal mail servers.  From the internal gateway, and from the firewall I can telnet to port 25 on mail.mailwatch.com and smtp.btclick.com. BUT I cannot from the mail relay, I keep getting connection time outs.  Doing a tcpdump on the firewall whilst trying to connect from the relay shows me that the packets are coming into the firewall and going out, but not returning.  Tcpdump also shows me that if I try any other mail server that we are not having problems with, the packets come in, go out and then come back.&lt;BR /&gt;&lt;BR /&gt;Any ideas?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;&lt;BR /&gt;Phil</description>
      <pubDate>Fri, 24 Jan 2003 11:05:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/strange-sendmail-telnet-problem/m-p/2890147#M89025</guid>
      <dc:creator>Phil Foxton</dc:creator>
      <dc:date>2003-01-24T11:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: Strange sendmail/telnet problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/strange-sendmail-telnet-problem/m-p/2890148#M89026</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Can you connect to port 25 of your mail-relay from Internet ( from outside firewall ) or In other words , does your Mail relay receive mails from Internet ?.&lt;BR /&gt;&lt;BR /&gt;Also Can you send mail from your intranet to Internet ?&lt;BR /&gt;&lt;BR /&gt;In sendmail mail-relay server do this.&lt;BR /&gt;#netstat -an&lt;BR /&gt;What all IP address does the smtp (port 25) LISTENING ?.&lt;BR /&gt;&lt;BR /&gt;When you tried telnet from Mail-relay server which host format you used to telnet o port 25.&lt;BR /&gt;&lt;BR /&gt;DNS name ?&lt;BR /&gt;IP address ?&lt;BR /&gt;&lt;BR /&gt;Try giving IP addresses of your External interface and then Internal Interface.&lt;BR /&gt;&lt;BR /&gt;#telnet xx.xx.xx.xx 25&lt;BR /&gt;&lt;BR /&gt;If it works now , But not with hostname&lt;BR /&gt;&lt;BR /&gt;#telnet mail.mydomain.com 25&lt;BR /&gt;&lt;BR /&gt;That means you have to configure proper DNS server entries in /etc/resolv.conf file .&lt;BR /&gt;And direct to use dns in /etc/nsswitch.conf file&lt;BR /&gt;&lt;BR /&gt;pl come back with results &lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;U.SivaKumar&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 24 Jan 2003 11:17:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/strange-sendmail-telnet-problem/m-p/2890148#M89026</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2003-01-24T11:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: Strange sendmail/telnet problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/strange-sendmail-telnet-problem/m-p/2890149#M89027</link>
      <description>Yes to all questions, other mail is going out ok, and we can receive mail from users on those addresses.&lt;BR /&gt;&lt;BR /&gt;We can also send mails from the internal network to the relay in the DMZ, and to other users (we have a number of users on several sites and inter-office mail (via the internet) works fine.  Also resolving the name is not a problem - trying just the ip address works as does using the FQDN.&lt;BR /&gt;&lt;BR /&gt;I am rapidly approaching a forehead/wall interface sceanario....:-)&lt;BR /&gt;&lt;BR /&gt;Phil</description>
      <pubDate>Fri, 24 Jan 2003 11:37:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/strange-sendmail-telnet-problem/m-p/2890149#M89027</guid>
      <dc:creator>Phil Foxton</dc:creator>
      <dc:date>2003-01-24T11:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: Strange sendmail/telnet problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/strange-sendmail-telnet-problem/m-p/2890150#M89028</link>
      <description>run dig yahoo.com&lt;BR /&gt;&lt;BR /&gt;Do you get an answer?&lt;BR /&gt;&lt;BR /&gt;If so, DNS is fine.&lt;BR /&gt;&lt;BR /&gt;If not, check /etc/resolv.conf and make schanges so you get propery dns resolution.&lt;BR /&gt;&lt;BR /&gt;You do not however need DNS resolution to use a relay server.&lt;BR /&gt;&lt;BR /&gt;This is done with /etc/sendmail.cf&lt;BR /&gt;&lt;BR /&gt;There is a DS directive&lt;BR /&gt;&lt;BR /&gt;DS&lt;BR /&gt;[IP of the relay server]&lt;BR /&gt;&lt;BR /&gt;Make sure this is set.  You might not be able to ping it, becasue many mail relay servers are also firewalls that won't accept ping.&lt;BR /&gt;&lt;BR /&gt;So try this mail diagnostic command:&lt;BR /&gt;&lt;BR /&gt;It will give you the data you need to resolve your problem.&lt;BR /&gt;&lt;BR /&gt;sendmail -v -d38 targetemail@somedomain.com&lt;BR /&gt;&lt;BR /&gt;Type in a single line&lt;BR /&gt;&lt;BR /&gt;type in a period and then hit enter.&lt;BR /&gt;&lt;BR /&gt;This will display on screen(you can redirect to a file) the informaiton you need to diagnose the problem.&lt;BR /&gt;&lt;BR /&gt;If you see connection refused, your relay server isn't allowing you to relay mail.&lt;BR /&gt;&lt;BR /&gt;P</description>
      <pubDate>Fri, 24 Jan 2003 16:36:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/strange-sendmail-telnet-problem/m-p/2890150#M89028</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-01-24T16:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: Strange sendmail/telnet problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/strange-sendmail-telnet-problem/m-p/2890151#M89029</link>
      <description>Steven,&lt;BR /&gt;&lt;BR /&gt;Thankyou for your reply, I tried as suggested, but as mentioned above, resolution of names is not a problem, and the server is not doing the relaying, it is the relay for 2 servers inside the internal network.&lt;BR /&gt;&lt;BR /&gt;I tried sending myself as suggested an email and I got this :&lt;BR /&gt;&lt;BR /&gt;sendmail -v -d38 phil.foxton@intelligent-ms.com&lt;BR /&gt;cdsfsdafdas&lt;BR /&gt;.&lt;BR /&gt;phil.foxton@intelligent-ms.com... Connecting to mail.intelligent-ms.com. via esmtp...&lt;BR /&gt;220 grpware.intelligent-ms.com ESMTP Sendmail 8.11.2/8.11.2; Fri, 24 Jan 2003 16:29:52 GMT&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; EHLO scratchy.base.ims&lt;BR /&gt;250-grpware.intelligent-ms.com Hello mailer.intelligent-ms.com [10.10.10.1], pleased to meet you&lt;BR /&gt;250-ENHANCEDSTATUSCODES&lt;BR /&gt;250-8BITMIME&lt;BR /&gt;250-SIZE&lt;BR /&gt;250-DSN&lt;BR /&gt;250-ONEX&lt;BR /&gt;250-ETRN&lt;BR /&gt;250-XUSR&lt;BR /&gt;250-AUTH GSSAPI&lt;BR /&gt;250 HELP&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; MAIL From:&lt;PFOXTON&gt; SIZE=12&lt;BR /&gt;250 2.1.0 &lt;PFOXTON&gt;... Sender ok&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; RCPT To:&lt;PHIL.FOXTON&gt;&lt;BR /&gt;250 2.1.5 &lt;PHIL.FOXTON&gt;... Recipient ok&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; DATA&lt;BR /&gt;354 Enter mail, end with "." on a line by itself&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; .&lt;BR /&gt;250 2.0.0 h0OGTqH14925 Message accepted for delivery&lt;BR /&gt;phil.foxton@intelligent-ms.com... Sent (h0OGTqH14925 Message accepted for delivery)&lt;BR /&gt;Closing connection to mail.intelligent-ms.com.&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; QUIT&lt;BR /&gt;221 2.0.0 grpware.intelligent-ms.com closing connection&lt;BR /&gt;&lt;BR /&gt;I then tried sending one to a problem address and got this:&lt;BR /&gt;sendmail -v -d38 a.user@eu.irco.com&lt;BR /&gt;test email&lt;BR /&gt;.&lt;BR /&gt;a.user@eu.irco.com... Connecting to mail.mailwatch.com. via esmtp...&lt;BR /&gt;a.user@eu.irco.com... Deferred: Connection timed out with mail.mailwatch.com.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;dig mail.mailwatch.com gave this:&lt;BR /&gt;&lt;BR /&gt;; &amp;lt;&amp;lt;&amp;gt;&amp;gt; DiG 9.1.0 &amp;lt;&amp;lt;&amp;gt;&amp;gt; mail.mailwatch.com&lt;BR /&gt;;; global options:  printcmd&lt;BR /&gt;;; Got answer:&lt;BR /&gt;;; -&amp;gt;&amp;gt;HEADER&amp;lt;&amp;lt;- opcode: QUERY, status: NOERROR, id: 40315&lt;BR /&gt;;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 4&lt;BR /&gt;&lt;BR /&gt;;; QUESTION SECTION:&lt;BR /&gt;;mail.mailwatch.com.            IN      A&lt;BR /&gt;&lt;BR /&gt;;; ANSWER SECTION:&lt;BR /&gt;mail.mailwatch.com.     1801    IN      A       204.253.83.157&lt;BR /&gt;&lt;BR /&gt;;; AUTHORITY SECTION:&lt;BR /&gt;mailwatch.com.          82564   IN      NS      jcs1a.faxsav.com.&lt;BR /&gt;mailwatch.com.          82564   IN      NS      dcs2.netmoves.com.&lt;BR /&gt;mailwatch.com.          82564   IN      NS      njs1.faxsav.com.&lt;BR /&gt;mailwatch.com.          82564   IN      NS      nys2.netmoves.com.&lt;BR /&gt;&lt;BR /&gt;;; ADDITIONAL SECTION:&lt;BR /&gt;dcs2.netmoves.com.      88201   IN      A       204.124.244.65&lt;BR /&gt;njs1.faxsav.com.        88201   IN      A       204.124.245.9&lt;BR /&gt;nys2.netmoves.com.      88201   IN      A       198.199.128.106&lt;BR /&gt;jcs1a.faxsav.com.       88201   IN      A       209.67.18.65&lt;BR /&gt;&lt;BR /&gt;;; Query time: 5 msec&lt;BR /&gt;;; SERVER: 192.168.200.1#53(192.168.200.1)&lt;BR /&gt;;; WHEN: Fri Jan 24 16:44:39 2003&lt;BR /&gt;;; MSG SIZE  rcvd: 209&lt;BR /&gt;&lt;BR /&gt;I get the same mail result if I try sending to the other mail server listed (mail0.allegro.net)&lt;BR /&gt;&lt;BR /&gt;Any further ideas? (I have logged a call with BT and Easylink to see if the problem is at their end, but I don't hold out much hope!&lt;BR /&gt;&lt;BR /&gt;Phil&lt;/PHIL.FOXTON&gt;&lt;/PHIL.FOXTON&gt;&lt;/PFOXTON&gt;&lt;/PFOXTON&gt;</description>
      <pubDate>Fri, 24 Jan 2003 16:46:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/strange-sendmail-telnet-problem/m-p/2890151#M89029</guid>
      <dc:creator>Phil Foxton</dc:creator>
      <dc:date>2003-01-24T16:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: Strange sendmail/telnet problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/strange-sendmail-telnet-problem/m-p/2890152#M89030</link>
      <description>If your firewall allows it try a traceroute to see where it goes wrong.  Compare to a traceroute from the internal gateway.  &lt;BR /&gt;&lt;BR /&gt;Could your ISP  have dropped your mailserver's ip address from its routing tables?  (Does the mail server have a real address or is the firewall doing a NAT?  IF it's Nat'd then this doesn't apply.)  &lt;BR /&gt;&lt;BR /&gt;When you did a tcpdump did you check that the sending address was correct?&lt;BR /&gt;&lt;BR /&gt;Can you change the ip address on the mail server temporarily to see if that lets you telnet?&lt;BR /&gt;&lt;BR /&gt;Ron</description>
      <pubDate>Thu, 30 Jan 2003 23:23:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/strange-sendmail-telnet-problem/m-p/2890152#M89030</guid>
      <dc:creator>Ron Kinner</dc:creator>
      <dc:date>2003-01-30T23:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: Strange sendmail/telnet problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/strange-sendmail-telnet-problem/m-p/2890153#M89031</link>
      <description>A look at netstat -an or -rn might help.&lt;BR /&gt;&lt;BR /&gt;I'd like to see the same thing from the mail router.&lt;BR /&gt;&lt;BR /&gt;More important, you might have a problem on the relay server with who it allows to relay.  Though that should produce a connection refused message.&lt;BR /&gt;&lt;BR /&gt;If the mail router is a Symmantec gateway with anti-virus and all, keeping it fully patched is a must.&lt;BR /&gt;&lt;BR /&gt;I spent on and off from August to January, working on a mail attachment script that should have worked unchanged from HP's web site.  It did, right after the mail relay admin put the latest patch set in.&lt;BR /&gt;&lt;BR /&gt;GRRRR&lt;BR /&gt;&lt;BR /&gt;P</description>
      <pubDate>Fri, 31 Jan 2003 14:14:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/strange-sendmail-telnet-problem/m-p/2890153#M89031</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-01-31T14:14:10Z</dc:date>
    </item>
  </channel>
</rss>

