Quote:
Originally Posted by vinaytp
Hi all...
In a remote machine port 25 is open its enabled in firewall also...but not able to connect through telnet..why ?
netstat -an | grep 25
Code:
tcp 0 0 0.0.0.0:44525 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:9021 127.0.0.1:52527 ESTABLISHED
tcp 0 0 127.0.0.1:25 127.0.0.1:53250 ESTABLISHED
telnet <ipaddress> 25
Code:
telnet 172.17.65.206 25
Trying 172.17.65.206...
telnet: connect to address 172.17.65.206: No route to host
Can Anyone please help me...
Thanks in advance....
|
because only localhost listens on port 25.
if sendmail, you need to edit this line in sendmail.mc
Code:
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
or even add another line
Code:
DAEMON_OPTIONS(`Port=smtp,Addr=172.17.65.206, Name=MTA')dnl
or just go with this
Code:
DAEMON_OPTIONS(`Port=smtp,Addr=0.0.0.0, Name=MTA')dnl
for listening on all addresses