Sendmail Trouble Shooting


Table of Contents

Sendmail hostname error 
ESMTP connection timed out 
sendmail hostname config 
sendmail hostname config 
Sendmail:Temporary system failure 
Situation 
Conclusion 
Solution 
Symptom 
Analysis 

Sendmail hostname error 

Newsgroups: gmane.linux.distributions.grml.user
Date: Thu, 08 Feb 2007 13:37:59 -0800
> I wasn't able to use sendmail recently. I've now track it down that the
> hostname that my Sendmail uses is wrong. How can I fix it?
>
>   % /usr/sbin/sendmail -bi
>   WARNING: local host name (;; connection timed out; no servers could be
>   reached) is not qualified; see cf/README: WHO AM I? /etc/mail/aliases:
>   24 aliases, longest 10 bytes, 233 bytes total

This might seem obvious, but did you make sure your mail server has a PTR record for it's IP? If not, make sure your mail server has a PTR record in DNS and do a dpkg-reconfigure -plow sendmail.

Paul Johnson @ursine.ca