For When You Can't Have The Real Thing
[ start | index | login ]
start > sendmail > unqualified host name unknown

unqualified host name unknown

Created by dave. Last edited by dave, 9 years and 200 days ago. Viewed 6,566 times. #1
[edit] [rdf]
labels
attachments

Problem:

Sendmail takes forever to do anything (ie 60 seconds). Log messages like:

May 27 09:54:50 computer sendmail[28953]: My unqualified host name (computer) unknown; sleeping for retry
May 27 09:55:50 computer sendmail[28953]: unable to qualify my own domain name (computer) -- using short name

Solution:

I see users post this over and over - "sendmail hangs" or "sendmail takes forever to load"

The problem is that sendmail is looking for a FQDN, and it is probably finding your hostname before localhost and localhost.localdomain

your host file entry should have your simple hostname after the others:

/etc/hosts

127.0.0.1 localhost.localdomain localhost myhostname
Order matters!!!

If done this way, sendmail sees a FQDN for your loopback interface and will breeze right through.

(>>Source)

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt