Linode Forum
https://forum.linode.com/

External port 25 blocked
https://forum.linode.com/viewtopic.php?f=11&t=9059
Page 1 of 1

Author:  chacham [ Mon Jun 25, 2012 8:46 pm ]
Post subject:  External port 25 blocked

I just realized that my linode is not accepting connecting on port 25. Locally, it works. I feel like i'm missing something obvious.

From the localhost:

telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
220 lixxx-xxx.members.linode.com ESMTP Exim 4.72 Mon, 25 Jun 2012 20:39:51 -0400

netstat -plntu |grep :25
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 3091/exim4
tcp6 0 0 :::25 :::* LISTEN 3091/exim4

grep local_inter update-exim4.conf.conf
dc_local_interfaces=''

But from my mac:

telnet my_host 110
Trying xx.xxx.xx.xxx...
Connected to my_host
Escape character is '^]'.

telnet my_host 25
Trying xx.xxx.xx.xxx...
telnet: connect to address xx.xxx.xx.xxx: Operation timed out

Mailing to my_host (which forwards email to my gmail address), does not work.
Mailing to localhost does indeed forward properly.

This used to work, though. I'm assuming i made a change and forgot what it was. Please help me figure this out.

Author:  larry [ Mon Jun 25, 2012 8:51 pm ]
Post subject:  Re: External port 25 blocked

Are you sure your ISP isn't blocking port 25?

Author:  theckman [ Mon Jun 25, 2012 8:52 pm ]
Post subject:  Re: External port 25 blocked

Have you made sure your ISP isn't blocking outbound port 25? You can test this by seeing if another mailserver is blocked on port 25. I know for a fact mail2.linode.com should accept connections on port 25. Won't allow you to send mail, but TCP handshake should complete.

-Tim

Author:  chacham [ Mon Jun 25, 2012 9:12 pm ]
Post subject:  Re: External port 25 blocked

Hmm.. good point.

telnet mail2.linode.com 25
Trying 173.255.198.11...
telnet: connect to address 173.255.198.11: Operation timed out
telnet: Unable to connect to remote host

OK, so that's a local issue. And should have been more obvious. Thanx.

Now to see why the email is not forwarding.

From the linode:

mail test@my_host
Subject: test
test
.
Cc:

I receive the email on gmail as soon as i check. Sending it to that address from gmail itself fails. I noticed it just before as a website was emailing my forwarded address and i never received it.

Author:  chacham [ Mon Jun 25, 2012 10:21 pm ]
Post subject:  Re: External port 25 blocked

Further testing. I setup a quick ubuntu on AWS (Amazon Web Services). Mailing from there works, and indeed i can telnet to port 25 on myhost.

I'm still trying want to figure out why i can't email it from gmail, and why another website sending me a confirmation email fails. Maybe i ought to try until tomorrow.

Author:  rsk [ Tue Jun 26, 2012 5:38 pm ]
Post subject:  Re: External port 25 blocked

chacham wrote:
I receive the email on gmail as soon as i check. Sending it to that address from gmail itself fails.


Maybe I'm reading you wrong. But if your test is xyz@gmail.com -> linode, forwarding to -> xyz@gmail.com, you will never see the return email. Gmail does some black magic (deduplication, maybe?) that makes such bounced emails vanish into the ether.

Hmm, now I'm kind of curious if it's based on the existence of a copy of the mail in your Sent Items folder, or something else. I guess it could be tested by setting the forwarding server to delay the mail by a few minutes, and deleting the Sent Items copy in the meantime...

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/