The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to delete the files from local host to remote host krishna176 SUN Solaris 3 03-24-2007 01:48 PM
tnsping at local and remote host? milo Shell Programming and Scripting 1 03-16-2007 08:12 AM
local host tamemi UNIX for Dummies Questions & Answers 3 12-23-2003 02:44 PM
Got connected with Modem but cannot dial Telephone no. to connect to host abidmalik UNIX for Dummies Questions & Answers 1 01-06-2003 12:12 PM
local host setup jeremiebarber UNIX for Dummies Questions & Answers 2 03-30-2002 11:20 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 05-15-2002
Registered User
 

Join Date: Nov 2001
Location: Switzerland
Posts: 29
Question sendmail : connect local host (brocken)

hi there

I've got a strange problem with a webserver box (suse linux 7.2). My MTA is sendmail, and when I tried manually send a mail.

Sendmail -v "user@something" < /etc/hosts

The Server tried
"simon@localhost... Connecting to local..." but nothing happend and the system hold on.

This happend to every mailadresse.

Incomming mails from an other server stay in the mque and won't send to the local user.

why could this happen? What's wrong? I don't see the solutions for this problem.

BTW webmin gives in the mque list a description to this holded mails: " operations system error"

thanks for your help!

best regrards,
mrsaint
Forum Sponsor
  #2  
Old 05-16-2002
Registered User
 

Join Date: Mar 2002
Location: London, England
Posts: 262
Wink sendmail

it seems sendmail can't find it route.

things to check for is to make sure
your loop back address is in the /etc/hosts file

that is 127.0.0.1 localhost

Make sure sendmail is listen to port 25
netstat -an | grep -i listen | grep 25

test sendmail by

telnet localhost 25

if you get through port 25 that means sendmail is listen the issue

helo localhost
you should received code 220 meaning ready. if you
received any other code then sendmail is not responding. check sendmail log file or any dead.letter file for clues

in case sendmail is not responding issue
ps -ef |grep sendmail
kill -9 PID
restart sendmail
sendmail -bd -q15m

Since mail are queued on server is highly unlikely to be DNS problem but just to sure make you could resolve your domainname and Mx record
you could use the nslookup command
  #3  
Old 05-16-2002
Registered User
 

Join Date: Nov 2001
Location: Switzerland
Posts: 29
strange... i've tried to connect to port 25, but yet I dont get any response. stupid!

Port 25 listen, but under 0.0.0.0 ????I have to look at it

Thanks!

kind regards
  #4  
Old 05-24-2002
Registered User
 

Join Date: Nov 2001
Location: Switzerland
Posts: 29
I used the command and get this results

server104:/etc # netstat -an | grep -i listen | grep 25
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN

I think this should be 127.0.0.1 ! That's loopback, other I could connect to localhost especially the sendmail MTA.

How could I change this?

thanks
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:37 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0