LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 11-13-2005, 10:52 AM   #1
Ed1952
LQ Newbie
 
Registered: Dec 2003
Posts: 9

Rep: Reputation: 0
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.
 
Old 11-14-2005, 08:30 PM   #2
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 46
At the risk of stating the obvious, are you sure sendmail's running? Try service sendmail status and I'm guessing you'll need a service sendmail start after that.
 
Old 11-15-2005, 08:24 AM   #3
Ed1952
LQ Newbie
 
Registered: Dec 2003
Posts: 9

Original Poster
Rep: Reputation: 0
Yes, it is running. When I give the command service sendmail status, it reports that sendmail is running. One thing that is strange is that it takes a long time to start or restart sendmail. Something like a minute or more, while all other services start or restart in a matter of less than a second. Also, I keep getting a message 192.168.0.70 sent an invalid ICMP type 11, code 0 error to a broadcast: 192.168.0.255. Also, I note that sm-client is not running, and it fails when the machine boots. I can telnet into other ports that I am trying use use, like 110, without any problem. It is only port 25 that is blocked, and this is even on the machine, itself, from the console, or from another machine on my private network.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FC3; Localhost=Connection refused rtcary Linux - General 18 07-11-2005 08:53 AM
Connection to localhost refused?!? a_priebe47 Slackware 4 09-01-2004 09:05 PM
connection to localhost refused digitalgravy Linux - Networking 5 05-03-2004 04:27 PM
ftpd connection refused from localhost Caidence Linux - Networking 2 11-06-2003 04:13 AM
"connection refused" on port 993, when not coming from localhost spam4scott Linux - Networking 2 07-14-2003 06:35 AM


All times are GMT -5. The time now is 07:21 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration