No port 25 traffic allowed out from Ubuntu Server

I have three Ubuntu 8.04 LTS servers that will not allow outgoing connections on port 25.

For instance, I can do the following from the command line on my server:

telnet anotherserver.com
or:
telnet anotherserver.com 23
or:
telnet anotherserver.com 80

but I cannot do the following:
telnet anotherserver.com 25

I get:
Trying 111.222.333.444
telnet: Unable to connect to remote host: No route to host

This is true on all three 8.04 servers I have, but there is no problem on the 9.04 or 10.04 servers. It does not make a difference if I use sudo telnet. Two of these servers are running Postfix, the third is not (if that matters). I do not see anything in IPTABLES to prevent port 25 traffic, but it does look like port 25 traffic is being selectively blocked or rerouted somehow.

Where should I look next?

Thanks.







jbbarnesAsked:
Who is Participating?
 
jbbarnesConnect With a Mentor Author Commented:
It suddenly occurred to me that it might be the hosting service. Indeed, godaddy does block port 25 traffic and requires you to use a smart host. That answers it.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.