||11-13-2005 10:52 AM
port 25 connection refused even from localhost??
I am trying to set up a sendmail server on a RH Enterprise Workstation computer. I got a web server, and other stuff up and running, but I cannot get the e-mail server to work. For a while, I could send e-mail directly from the machine, but not from another machine on my network with Eudora, but now I cannot send or receive from the machine. I've tried making all sorts of changes to sendmail.mc according to different posts that I have found, and I've looked at (and even turned off iptables), but there was nothing in it restricting anything. I've turned off all firewall stuff on the machine, and also on my internal firewall/router/gateway/dhcp server. But, I can't even telnet to port 25. I get connection refused, even when I sit at the machine, open a terminal window, and type telnet 127.0.0.1 25 I get connection refused!! I also tried coming in through my firewall from outside my private network, and get the same result. I've also tried telnetting into the ip address from other machines on my private network. Still refused. I've also used the machine name and domain name. Still refused.
If I type netstat -an, I get a whole bunch of stuff, and I can see that clearly a bunch of ports are turned on and connected to 127.0.0.1, BUT NOT port 25 Any ideas what the problem can be? I've even tried typing various commands that should open up the port, under iptables, but nothing works.