[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postfix-users
Subject:    Re: can not telnet port 25
From:       Feel Zhou <feelzhou () gmail ! com>
Date:       2014-02-27 7:00:13
Message-ID: CADmZUocCcwyx1NaiYYeMTe+qi0qJaHzMT80RxzA2Bkpmk0iFFA () mail ! gmail ! com
[Download RAW message or body]

Thanks for everyone
It's working after few hour..
My ISP may have blocked port 25 outbound
It' working well now
Sorry for answer so late, because of busy with my business
Thanks again
TOM


2014-02-21 11:53 GMT+08:00 Eric Kimminau <eak@kimminau.org>:

>  1) Postfix has NO impact on telnet. If you cannot telnet outbound to a
> remote port 25 the problem is that something on your host is blocking port
> 25 or something upstream from you is blocking port 25.
>
> Can you perform the following:
>
> telnet localhost 25
>
> If this works, you CAN telnet to port 25 locally.
>
> Then try a known Good SMTP server, such as Google:
> # nslookup -q=MX gmail.com
> Server:         209.172.41.202
> Address:        209.172.41.202#53
>
> Non-authoritative answer:
> gmail.com       mail exchanger = 5 gmail-smtp-in.l.google.com.
> gmail.com       mail exchanger = 30 alt3.gmail-smtp-in.l.google.com.
> gmail.com       mail exchanger = 20 alt2.gmail-smtp-in.l.google.com.
> gmail.com       mail exchanger = 10 alt1.gmail-smtp-in.l.google.com.
> gmail.com       mail exchanger = 40 alt4.gmail-smtp-in.l.google.com.
>
> Authoritative answers can be found from:
> alt3.gmail-smtp-in.l.google.com internet address = 173.194.70.27
> gmail-smtp-in.l.google.com      internet address = 173.194.76.26
> alt4.gmail-smtp-in.l.google.com internet address = 173.194.69.27
> alt1.gmail-smtp-in.l.google.com internet address = 173.194.66.27
> alt2.gmail-smtp-in.l.google.com internet address = 74.125.136.27
>
> [root@cl-t159-360cl ~]# telnet gmail-smtp-in.l.google.com 25
> Trying 173.194.76.26...
> Connected to gmail-smtp-in.l.google.com (173.194.76.26).
> Escape character is '^]'.
> 220 mx.google.com ESMTP a3si2597941qao.15 - gsmtp
> quit
> Connection closed by foreign host.
>
> Make sure you actually have a service sunning on port 25, i.e.:
>
> netstat -an | grep 25
> tcp        0      0 0.0.0.0:25                  0.0.0.0:*
> LISTEN
> i
>
> Make sure you do not have the inet service set to private in your
> master.cf:
> When I first started troubleshooting I got an error in the /var/log/maillog
> Jan 30 11:34:45 list postfix/master[20710]: fatal: /etc/postfix/master.cf:
> line 40: inet service cannot be private.
> went into master.cf
> found this
> "smtp inet - - n - - smtp"
> Changed first "-" to n
> "smtp inet n - n - - smtp"
> restarted post fix worked.
>
> Hope it helps.
>
>
>
>
> On 2/20/2014 9:31 PM, Feel Zhou wrote:
>
>   Hello, My friend
>  This is Tom, I'm sending my greeting from China.
>  Today, one of my postfix server can not telnet any other mail server's
> port 25. It's working before 9:00am(bejing time CHina), I have restart the
> mail server and reinstall the postfix. but it's looks like not working. How
> can I fix this problem. Thanks for your help
>  TOM
>
>
> --
> Eric Kimminau, Troop #284 Recruitingeak@kimminau.org
> cell: 248-766-5353
> home: 248-393-8036
>
>

[Attachment #3 (text/html)]

<div dir="ltr"><div><div><div><div><div>Thanks for everyone<br></div>It&#39;s working \
after few hour..<br></div>My  ISP may have blocked port 25 outbound<br></div>It&#39; \
working well now<br></div><div>Sorry for answer so late, because of busy with my \
business<br> </div>Thanks again<br></div>TOM<br><div><div><div><div \
class="gmail_extra"><br><br><div class="gmail_quote">2014-02-21 11:53 GMT+08:00 Eric \
Kimminau <span dir="ltr">&lt;<a href="mailto:eak@kimminau.org" \
target="_blank">eak@kimminau.org</a>&gt;</span>:<br> <blockquote class="gmail_quote" \
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    1) Postfix has NO impact on telnet. If you cannot telnet outbound to
    a remote port 25 the problem is that something on your host is
    blocking port 25 or something upstream from you is blocking port 25.<br>
    <br>
    Can you perform the following:<br>
    <br>
    telnet localhost 25<br>
    <br>
    If this works, you CAN telnet to port 25 locally.<br>
    <br>
    Then try a known Good SMTP server, such as Google:<br>
    # nslookup -q=MX <a href="http://gmail.com" target="_blank">gmail.com</a><br>
    Server:         209.172.41.202<br>
    Address:        209.172.41.202#53<br>
    <br>
    Non-authoritative answer:<br>
    <a href="http://gmail.com" target="_blank">gmail.com</a>       mail exchanger = 5 \
<a href="http://gmail-smtp-in.l.google.com" \
target="_blank">gmail-smtp-in.l.google.com</a>.<br>  <a href="http://gmail.com" \
target="_blank">gmail.com</a>       mail exchanger = 30 <a \
href="http://alt3.gmail-smtp-in.l.google.com" \
target="_blank">alt3.gmail-smtp-in.l.google.com</a>.<br>  <a href="http://gmail.com" \
target="_blank">gmail.com</a>       mail exchanger = 20 <a \
href="http://alt2.gmail-smtp-in.l.google.com" \
target="_blank">alt2.gmail-smtp-in.l.google.com</a>.<br>  <a href="http://gmail.com" \
target="_blank">gmail.com</a>       mail exchanger = 10 <a \
href="http://alt1.gmail-smtp-in.l.google.com" \
target="_blank">alt1.gmail-smtp-in.l.google.com</a>.<br>  <a href="http://gmail.com" \
target="_blank">gmail.com</a>       mail exchanger = 40 <a \
href="http://alt4.gmail-smtp-in.l.google.com" \
target="_blank">alt4.gmail-smtp-in.l.google.com</a>.<br>  <br>
    Authoritative answers can be found from:<br>
    <a href="http://alt3.gmail-smtp-in.l.google.com" \
target="_blank">alt3.gmail-smtp-in.l.google.com</a> internet address = \
173.194.70.27<br>  <a href="http://gmail-smtp-in.l.google.com" \
target="_blank">gmail-smtp-in.l.google.com</a>      internet address = \
173.194.76.26<br>  <a href="http://alt4.gmail-smtp-in.l.google.com" \
target="_blank">alt4.gmail-smtp-in.l.google.com</a> internet address = \
173.194.69.27<br>  <a href="http://alt1.gmail-smtp-in.l.google.com" \
target="_blank">alt1.gmail-smtp-in.l.google.com</a> internet address = \
173.194.66.27<br>  <a href="http://alt2.gmail-smtp-in.l.google.com" \
target="_blank">alt2.gmail-smtp-in.l.google.com</a> internet address = \
74.125.136.27<br>  <br>
    [root@cl-t159-360cl ~]# telnet <a href="http://gmail-smtp-in.l.google.com" \
target="_blank">gmail-smtp-in.l.google.com</a> 25<br>  Trying 173.194.76.26...<br>
    Connected to <a href="http://gmail-smtp-in.l.google.com" \
target="_blank">gmail-smtp-in.l.google.com</a> (173.194.76.26).<br>  Escape character \
is &#39;^]&#39;.<br>  220 <a href="http://mx.google.com" \
target="_blank">mx.google.com</a> ESMTP a3si2597941qao.15 - gsmtp<br>  quit<br>
    Connection closed by foreign host.<br>
    <br>
    Make sure you actually have a service sunning on port 25, i.e.:<br>
    <br>
    netstat -an | grep 25<br>
    tcp        0      0 <a href="http://0.0.0.0:25" target="_blank">0.0.0.0:25</a>    \
  0.0.0.0:*                   LISTEN<br>
    i<br>
    <br>
    Make sure you do not have the inet service set to private in your
    <a href="http://master.cf" target="_blank">master.cf</a>:<br>
    <span style="color:rgb(51,51,51);font-family:&#39;Lucida \
Grande&#39;,&#39;Trebuchet \
MS&#39;,Verdana,Helvetica,Arial,sans-serif;font-size:13px;font-style:normal;font-varia \
nt:normal;font-weight:normal;letter-spacing:normal;line-height:18.200000762939453px;te \
xt-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(236,243,247);display:inline!important;float:none">When \
I first started troubleshooting I got an error  in the /var/log/maillog</span><br \
style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:&#39;Lucida \
Grande&#39;,&#39;Trebuchet \
MS&#39;,Verdana,Helvetica,Arial,sans-serif;font-size:13px;font-style:normal;font-varia \
nt:normal;font-weight:normal;letter-spacing:normal;line-height:18.200000762939453px;te \
xt-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(236,243,247)">


    <span style="color:rgb(51,51,51);font-family:&#39;Lucida \
Grande&#39;,&#39;Trebuchet \
MS&#39;,Verdana,Helvetica,Arial,sans-serif;font-size:13px;font-style:normal;font-varia \
nt:normal;font-weight:normal;letter-spacing:normal;line-height:18.200000762939453px;te \
xt-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(236,243,247);display:inline!important;float:none">Jan \
30 11:34:45 list postfix/master[20710]: fatal:  /etc/postfix/<a \
href="http://master.cf" target="_blank">master.cf</a>: line 40: inet service cannot \
be private.</span><br \
style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:&#39;Lucida \
Grande&#39;,&#39;Trebuchet \
MS&#39;,Verdana,Helvetica,Arial,sans-serif;font-size:13px;font-style:normal;font-varia \
nt:normal;font-weight:normal;letter-spacing:normal;line-height:18.200000762939453px;te \
xt-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(236,243,247)">


    <span style="color:rgb(51,51,51);font-family:&#39;Lucida \
Grande&#39;,&#39;Trebuchet \
MS&#39;,Verdana,Helvetica,Arial,sans-serif;font-size:13px;font-style:normal;font-varia \
nt:normal;font-weight:normal;letter-spacing:normal;line-height:18.200000762939453px;te \
xt-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(236,243,247);display:inline!important;float:none">went \
into <a href="http://master.cf" target="_blank">master.cf</a></span><br>

    <span style="color:rgb(51,51,51);font-family:&#39;Lucida \
Grande&#39;,&#39;Trebuchet \
MS&#39;,Verdana,Helvetica,Arial,sans-serif;font-size:13px;font-style:normal;font-varia \
nt:normal;font-weight:normal;letter-spacing:normal;line-height:18.200000762939453px;te \
xt-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(236,243,247);display:inline!important;float:none">found \
this</span><br style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:&#39;Lucida \
Grande&#39;,&#39;Trebuchet \
MS&#39;,Verdana,Helvetica,Arial,sans-serif;font-size:13px;font-style:normal;font-varia \
nt:normal;font-weight:normal;letter-spacing:normal;line-height:18.200000762939453px;te \
xt-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(236,243,247)">


    <span style="color:rgb(51,51,51);font-family:&#39;Lucida \
Grande&#39;,&#39;Trebuchet \
MS&#39;,Verdana,Helvetica,Arial,sans-serif;font-size:13px;font-style:normal;font-varia \
nt:normal;font-weight:normal;letter-spacing:normal;line-height:18.200000762939453px;te \
xt-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px \
;background-color:rgb(236,243,247);display:inline!important;float:none">&quot;smtp \
inet - - n - - smtp&quot;</span><br>

    <span style="color:rgb(51,51,51);font-family:&#39;Lucida \
Grande&#39;,&#39;Trebuchet \
MS&#39;,Verdana,Helvetica,Arial,sans-serif;font-size:13px;font-style:normal;font-varia \
nt:normal;font-weight:normal;letter-spacing:normal;line-height:18.200000762939453px;te \
xt-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(236,243,247);display:inline!important;float:none">Changed \
first &quot;-&quot; to n</span><br>

    <span style="color:rgb(51,51,51);font-family:&#39;Lucida \
Grande&#39;,&#39;Trebuchet \
MS&#39;,Verdana,Helvetica,Arial,sans-serif;font-size:13px;font-style:normal;font-varia \
nt:normal;font-weight:normal;letter-spacing:normal;line-height:18.200000762939453px;te \
xt-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px \
;background-color:rgb(236,243,247);display:inline!important;float:none">&quot;smtp \
inet n - n - - smtp&quot;</span><br>

    <span style="color:rgb(51,51,51);font-family:&#39;Lucida \
Grande&#39;,&#39;Trebuchet \
MS&#39;,Verdana,Helvetica,Arial,sans-serif;font-size:13px;font-style:normal;font-varia \
nt:normal;font-weight:normal;letter-spacing:normal;line-height:18.200000762939453px;te \
xt-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px \
;background-color:rgb(236,243,247);display:inline!important;float:none">restarted \
post fix worked.<br>

      <br>
    </span>Hope it helps.<div><div class="h5"><br>
    <br>
    <br>
    <br>
    <div>On 2/20/2014 9:31 PM, Feel Zhou wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>Hello, My friend <br>
            </div>
            This is Tom, I&#39;m sending my greeting from China.<br>
          </div>
          Today, one of my postfix server can not telnet any other mail
          server&#39;s port 25. It&#39;s working before 9:00am(bejing time
          CHina), I have restart the mail server and reinstall the
          postfix. but it&#39;s looks like not working. How can I fix this
          problem. Thanks for your help<br>
        </div>
        TOM<br>
      </div>
    </blockquote>
    <br>
    </div></div><span class="HOEnZb"><font color="#888888"><pre cols="72">-- 
Eric Kimminau, Troop #284 Recruiting
<a href="mailto:eak@kimminau.org" target="_blank">eak@kimminau.org</a>
cell: 248-766-5353
home: 248-393-8036 
</pre>
  </font></span></div>

</blockquote></div><br></div></div></div></div></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic