Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

no route to host

Status
Not open for further replies.

gchen

Programmer
Nov 14, 2002
174
US
Hi,

I fired up some email by sendmail but they were not sent out. when i checked mailq, i found they are all in the queue and commented with "no route to host".

Can anyone shed some light for me? I am using a linux box.

Thanks!

Gary
 
This is more than likely a network problem.
Can you traceroute mail.destination.com ?
If so
Can you telnet mail.destination.com 25 ?
If so
What is the output of sendmail -v -q mail.destination.com ?
RU running IPchains/IPtables on your Linux box ?



Cogito Ergo Sum - Non Compos Mentis
 
traceroute is working fine.

telnet to port 25 seemed to be okay. it did not ask me for login username password etc and i do not know much about telnet to sendmail. only thing worked for me is "quit" from there.

the output of sendmail -v -q is basically sending all those message in mailq and the results were all "No route to host".

I have no IPchains nor IPtables in my linux box.

And what I was trying to do is simply --

/usr/sbin/sendmial gchen@mydomain.com < my_message

and it went to mailq and never went to outside world.

Help please! and thanks a lot!
 
Check to see if your servername is in /etc/hosts file or in the DNS server depending on your setup. Check your resolve order in resolve.conf

Another possible explanation is bad or delayed hoststatus info.
Run sendmail -bh
Then sendmail -v -q
Does this deliver the mail & clear the queue?

Cogito Ergo Sum - Non Compos Mentis
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top