<?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: mailx port in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/mailx-port/m-p/5236702#M52028</link>
    <description>Steven,&lt;BR /&gt;&lt;BR /&gt;When I try to telnet I get this:&lt;BR /&gt;&lt;BR /&gt;telnet localhost 25&lt;BR /&gt;Trying 127.0.0.1...&lt;BR /&gt;telnet: connect to address 127.0.0.1: Connection refused&lt;BR /&gt;telnet: Unable to connect to remote host: Connection refused&lt;BR /&gt;&lt;BR /&gt;Marty</description>
    <pubDate>Fri, 23 Apr 2010 14:13:10 GMT</pubDate>
    <dc:creator>Martin Johnson</dc:creator>
    <dc:date>2010-04-23T14:13:10Z</dc:date>
    <item>
      <title>mailx port</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mailx-port/m-p/5236697#M52023</link>
      <description>I have a script that checks to see if an application is running. If the application is not running it uses mailx to send a message that the application is down. Unfortunately, the messages are not being received. I'm sure it is a firewall issue. My problem is I don't know which port mailx uses, so I don't know which port to open.&lt;BR /&gt;&lt;BR /&gt;Ten points for the right answer!&lt;BR /&gt;&lt;BR /&gt;Marty</description>
      <pubDate>Fri, 23 Apr 2010 12:37:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mailx-port/m-p/5236697#M52023</guid>
      <dc:creator>Martin Johnson</dc:creator>
      <dc:date>2010-04-23T12:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: mailx port</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mailx-port/m-p/5236698#M52024</link>
      <description>&lt;!--!*#--&gt;SMTP normally uses port 25.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] I'm sure [...]&lt;BR /&gt;&lt;BR /&gt;Because ...?&lt;BR /&gt;&lt;BR /&gt;You can run a simple test using Telnet to see&lt;BR /&gt;if there's some obvious problem.  Something&lt;BR /&gt;like:&lt;BR /&gt;&lt;BR /&gt;      telnet server_system 25&lt;BR /&gt;&lt;BR /&gt;(A suitable Web search should reveal how to&lt;BR /&gt;send an actual e-mail message that way, too.)</description>
      <pubDate>Fri, 23 Apr 2010 13:07:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mailx-port/m-p/5236698#M52024</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-04-23T13:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: mailx port</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mailx-port/m-p/5236699#M52025</link>
      <description>Unfortunately, telnet has been disabled in this environment.&lt;BR /&gt;&lt;BR /&gt;Marty</description>
      <pubDate>Fri, 23 Apr 2010 13:24:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mailx-port/m-p/5236699#M52025</guid>
      <dc:creator>Martin Johnson</dc:creator>
      <dc:date>2010-04-23T13:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: mailx port</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mailx-port/m-p/5236700#M52026</link>
      <description>&lt;!--!*#--&gt;&amp;gt; Unfortunately, telnet has been disabled in&lt;BR /&gt;&amp;gt; this environment.&lt;BR /&gt;&lt;BR /&gt;What, exactly, does that mean?  Disabling the&lt;BR /&gt;Telnet service on some system does not&lt;BR /&gt;normally affect anyone's ability to run a&lt;BR /&gt;Telnet client program, especially when one&lt;BR /&gt;is not using the normal Telnet port (and/or&lt;BR /&gt;one is doing it on some other system).&lt;BR /&gt;&lt;BR /&gt;&amp;gt;       telnet server_system 25&lt;BR /&gt;&lt;BR /&gt;Did you actually _try_ this, or is this&lt;BR /&gt;another case of "I'm sure" without any actual&lt;BR /&gt;evidence?</description>
      <pubDate>Fri, 23 Apr 2010 13:29:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mailx-port/m-p/5236700#M52026</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-04-23T13:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: mailx port</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mailx-port/m-p/5236701#M52027</link>
      <description>A traditional mailx binary does not use network at all. Instead, it does some pre-processing and then invokes "/usr/sbin/sendmail" (= the local MTA, which actually may be Exim, Postfix, Qmail or something else) in one-shot mode to actually send the message.&lt;BR /&gt;&lt;BR /&gt;You should view the mail logs of your system to see what happens to the message you tried to send with mailx. Usually this log is at /var/log/mail.log.&lt;BR /&gt;&lt;BR /&gt;If it's a firewall issue, then the messages might still be in the local outgoing mail queue: use the "mailq" command to view the mail queue status.&lt;BR /&gt;&lt;BR /&gt;When the local MTA attempts to deliver outgoing mail, it normally uses the SMTP protocol, which uses TCP port 25 as standard. If SMTP-over-SSL is configured for some particular mail destination, TCP port 465 might also be used, but this is somewhat uncommon.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Fri, 23 Apr 2010 13:54:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mailx-port/m-p/5236701#M52027</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-04-23T13:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: mailx port</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mailx-port/m-p/5236702#M52028</link>
      <description>Steven,&lt;BR /&gt;&lt;BR /&gt;When I try to telnet I get this:&lt;BR /&gt;&lt;BR /&gt;telnet localhost 25&lt;BR /&gt;Trying 127.0.0.1...&lt;BR /&gt;telnet: connect to address 127.0.0.1: Connection refused&lt;BR /&gt;telnet: Unable to connect to remote host: Connection refused&lt;BR /&gt;&lt;BR /&gt;Marty</description>
      <pubDate>Fri, 23 Apr 2010 14:13:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mailx-port/m-p/5236702#M52028</guid>
      <dc:creator>Martin Johnson</dc:creator>
      <dc:date>2010-04-23T14:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: mailx port</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mailx-port/m-p/5236703#M52029</link>
      <description>Matti,&lt;BR /&gt;&lt;BR /&gt;/var/log/maillog has the following entry after I execute a mailx command:&lt;BR /&gt;&lt;BR /&gt;Apr 23 15:15:17 lnxopsd1as01 sendmail[8010]: o3NFFHwd008010: to=Marty.Johnson@staples.com, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30045, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]&lt;BR /&gt;&lt;BR /&gt;Marty</description>
      <pubDate>Fri, 23 Apr 2010 14:29:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mailx-port/m-p/5236703#M52029</guid>
      <dc:creator>Martin Johnson</dc:creator>
      <dc:date>2010-04-23T14:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: mailx port</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mailx-port/m-p/5236704#M52030</link>
      <description>&amp;gt;&amp;gt;stat=Deferred: Connection refused by [127.0.0.1]&lt;BR /&gt;&lt;BR /&gt;That is the key.  The connection is refused.  That was also the case with your 'telnet localhost 25'.  &lt;BR /&gt;&lt;BR /&gt;There are 2 possiblities:&lt;BR /&gt;&lt;BR /&gt;1) There is nothing listening on port 25 &lt;BR /&gt;&lt;BR /&gt;2) Port 25 may be blocked by your firewall.</description>
      <pubDate>Fri, 23 Apr 2010 15:20:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mailx-port/m-p/5236704#M52030</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2010-04-23T15:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: mailx port</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mailx-port/m-p/5236705#M52031</link>
      <description>Patrick,&lt;BR /&gt;&lt;BR /&gt;I suspect it is a firewall issue. &lt;BR /&gt;lsof -i:25 shows nothing is listening on port 25. It also shows nothing is listening on a node where I can send a successful mail message.&lt;BR /&gt;&lt;BR /&gt;Marty</description>
      <pubDate>Fri, 23 Apr 2010 15:48:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mailx-port/m-p/5236705#M52031</guid>
      <dc:creator>Martin Johnson</dc:creator>
      <dc:date>2010-04-23T15:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: mailx port</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mailx-port/m-p/5236706#M52032</link>
      <description>Actually, the problem turned out to be sendmail was not running. I started sendmail and received a bunch of messages. I guess the messages queue up when sendmail is not running.&lt;BR /&gt;&lt;BR /&gt;Marty</description>
      <pubDate>Fri, 23 Apr 2010 16:09:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mailx-port/m-p/5236706#M52032</guid>
      <dc:creator>Martin Johnson</dc:creator>
      <dc:date>2010-04-23T16:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: mailx port</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mailx-port/m-p/5236707#M52033</link>
      <description>See my last entry.</description>
      <pubDate>Fri, 23 Apr 2010 16:12:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mailx-port/m-p/5236707#M52033</guid>
      <dc:creator>Martin Johnson</dc:creator>
      <dc:date>2010-04-23T16:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: mailx port</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mailx-port/m-p/5236708#M52034</link>
      <description>&lt;!--!*#--&gt;&amp;gt; telnet: Unable to connect to remote host: Connection refused&lt;BR /&gt;&lt;BR /&gt;"Connection refused" normally means that you&lt;BR /&gt;could communicate with the server system, but&lt;BR /&gt;that no one is listening at the requested&lt;BR /&gt;port.  That is, no server is registered with&lt;BR /&gt;inetd (or equivalent) for that port, or else&lt;BR /&gt;no inetd-independent server is running which&lt;BR /&gt;would listen at that port.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] sendmail was not running.&lt;BR /&gt;&lt;BR /&gt;Like that.  It's possible, but relatively&lt;BR /&gt;rare, that a firewall will cause that&lt;BR /&gt;complaint.  Normally, a firewall blockage&lt;BR /&gt;will look more like an immediate connection&lt;BR /&gt;failure, not a no-listener-at-this-port&lt;BR /&gt;problem.</description>
      <pubDate>Fri, 23 Apr 2010 17:49:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mailx-port/m-p/5236708#M52034</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-04-23T17:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: mailx port</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mailx-port/m-p/5236709#M52035</link>
      <description>&lt;!--!*#--&gt;By the way, ...&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] My problem is I don't know which port&lt;BR /&gt;&amp;gt; mailx uses, so I don't know which port to&lt;BR /&gt;&amp;gt; open.&lt;BR /&gt;&amp;gt; &lt;BR /&gt;&amp;gt; Ten points for the right answer!&lt;BR /&gt;&lt;BR /&gt;&amp;gt; SMTP normally uses port 25.&lt;BR /&gt;&lt;BR /&gt;That answer was exactly what you asked for.&lt;BR /&gt;It's not my fault that you were asking the&lt;BR /&gt;wrong question (or that you were so tardy in&lt;BR /&gt;running the suggested test).&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] I'm sure it is a firewall issue. [...]&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I suspect it is a firewall issue. [...]&lt;BR /&gt;&lt;BR /&gt;Sometimes actual evidence can be more useful&lt;BR /&gt;than either groundless certainty or&lt;BR /&gt;suspicion.</description>
      <pubDate>Fri, 23 Apr 2010 17:58:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mailx-port/m-p/5236709#M52035</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-04-23T17:58:02Z</dc:date>
    </item>
  </channel>
</rss>

