| Red Hat This forum is for the discussion of Red Hat Linux. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
Due to network maintenance being performed by our provider, LQ will be down starting at 05:01 AM UTC. The exact duration of the downtime isn't currently known. We apologize for the inconvenience.
|
 |
11-13-2005, 10:52 AM
|
#1
|
|
LQ Newbie
Registered: Dec 2003
Posts: 9
Rep:
|
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.
|
|
|
|
11-14-2005, 08:30 PM
|
#2
|
|
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:
|
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.
|
|
|
|
11-15-2005, 08:24 AM
|
#3
|
|
LQ Newbie
Registered: Dec 2003
Posts: 9
Original Poster
Rep:
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:33 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|