LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-26-2004, 10:02 PM   #1
zuckerj
LQ Newbie
 
Registered: Sep 2004
Posts: 4

Rep: Reputation: 0
Sendmail port suddenly not accepting


I run a Redhat Linux installation with Sendmail.

RedHat 8.0
Sendmail 8.12.5

My installation has been running fine for quite a while. All of a sudden my system no longer accepts connections to port 25. I have tried from a remote mahcine and received "Connection Refused", and I have tried it on the Host machine itself and received "Connectuion Refused".

Again, this machine has been running fine, and I have made no recent changes. Can anyone help me track this issue down? I have checked my hosts.allow and hosts.deny files and they look fine. I have looked at my access file and it looks fine. When I do a "ps -aef" I see the Sendmail daemon running and "accepting connections".

I use xinetd for other services and see no reason why this little guy should all of a sudden start causing problems.

I have have checked DNS files and all host records prior to tracking it down to the refusing connection issue of port 25 on this machine. This machine is used only for accepting smtp mail and delivering to local clients. My outbound smtp server is fine and accepting connections fine.

ANy help will be very appreciated!!!!

Jz. - A mail deprived man for the moment!
 
Old 09-26-2004, 10:16 PM   #2
ashamril
Member
 
Registered: Jan 2003
Location: cyberjaya
Distribution: rh mdk deb fed suse
Posts: 99

Rep: Reputation: 15
my guess is the sendmail only accept connection from localhost (127.0.0.1)
what u can do is check the /etc/mail/sendmail.mc
look for this line:

DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl

just remark the line & make -C /etc/mail

after that restart sendmail service & should be ok.
 
Old 09-26-2004, 10:22 PM   #3
zuckerj
LQ Newbie
 
Registered: Sep 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Remember, this installation has been running fine up until today. Also, I tried:

> telnet localhost 25

With the same result, connection refused.

When I did a

> netstat -anp | grep 25

I get nothing. When I do

> nmap -sT -O localhost

Port 25 does not list as listening. But if I do

> ps -aef

I do see Sendmail listed as accepting connections.

What am I missing?

Jz.
 
Old 09-26-2004, 10:23 PM   #4
zuckerj
LQ Newbie
 
Registered: Sep 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Oh, one more thing. There was a recent power outage before this behavior began. But everything else seems fine except smtp mail (I have imap and pop running on this machine as well, and they are functioning fine. Well, except that I have no mail to retrieve. )

Jz.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail port suddenly not accepting zuckerj Linux - Networking 1 09-27-2004 03:12 AM
nocatauth not accepting requests on port 80 majortool Linux - Wireless Networking 0 07-13-2004 01:08 AM
sendmail not accepting external email noisybastard Linux - Networking 6 11-04-2003 10:10 PM
Check URL if accepting incomming on port 80 mithras Linux - General 4 07-25-2003 06:43 PM
port 110 isn't accepting connections member57 Linux - Networking 8 07-23-2003 09:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:56 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration