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

ERROR: Error while reading data from host mail.example.:25
https://forum.linode.com/viewtopic.php?f=11&t=4702
Page 1 of 1

Author:  shams [ Tue Oct 06, 2009 10:22 pm ]
Post subject:  ERROR: Error while reading data from host mail.example.:25

Hi,
i setup the postfix in fedora 11, for my mail server the problem is i cant get mails from the net, i test my mail server and this was the error:
SMTP Connection:
OK, connected to example.com...
ERROR: Error while reading data from host example.com.:25, No route to host

and i did telnet for localhost:
$ telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mail.example.com ESMTP Postfix
i use the shorewall firewall and port 25 is open to accept the connections from the net.
any idea please where is the problem?

Author:  Alucard [ Wed Oct 07, 2009 1:39 pm ]
Post subject: 

is your SMTPd listening on your public IP?

Author:  shams [ Thu Oct 08, 2009 11:39 pm ]
Post subject: 

I think yes because this is the telnet result to my public ip:
$ telnet 10.300.432.403 25
Trying 10.300.432.403...
Connected to 10.300.432.403.
Escape character is '^]'.
220 mail.example.com ESMTP Postfix

Author:  hoopycat [ Fri Oct 09, 2009 7:45 am ]
Post subject: 

You might have better luck posting real information; for now, without trying it from here, all I can come up with is "huh, that's weird."

Author:  jed [ Fri Oct 09, 2009 12:23 pm ]
Post subject: 

shams wrote:
I think yes because this is the telnet result to my public ip:

From outside your Linode? It'll still use lo if you do it from your Linode.

Author:  sweh [ Fri Oct 09, 2009 8:28 pm ]
Post subject: 

jed wrote:
shams wrote:
I think yes because this is the telnet result to my public ip:

From outside your Linode? It'll still use lo if you do it from your Linode.


The traffic may flow over "lo" but the IP addresses used would be the public ones and so would be a sufficient test to determine that the daemon is bound to the public address.

It's not enough to test firewall rules.

Author:  jed [ Fri Oct 09, 2009 9:19 pm ]
Post subject: 

sweh wrote:
It's not enough to test firewall rules.

What I was getting at.

Author:  shams [ Sat Oct 10, 2009 12:14 pm ]
Post subject: 

thanks for the replies, but i didn't get any idea what to do, i just test my mail server and i can send emails from my mail server to the net but can't get the emails from the net? can it be also my isp problem that blocks the port 25?

Author:  mwalling [ Sat Oct 10, 2009 3:27 pm ]
Post subject: 

hoopycat wrote:
You might have better luck posting real information.

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