A Plethora of B***S***

I see myself as an intelligent, sensitive human, with the soul of a clown which forces me to blow it at the most important moments. Jim Morrison

11 January 2007

Why does Ubuntu Hate Sendmail?

Arrgh. Trying to get sendmail 8.13.5 running under Ubuntu 6.06 LTS on a VPS. I keep getting the following error, and nothing I do seems to be able to fix it. Google has been less than helpful, as has ubuntu's official and non-official support forums, and sendmail.org's documentation has been equally useless. Sendmail, it seems, cannot find the local host name. This is despite it being correctly set in /etc/hosts, in /etc/mail/local-host-names, in DNS, etc. I've verified that DNS works. All other errors have been squashed. When issuing a make all, or a sendmailconfig in /etc/mail, I get the follow error:

WARNING: local host name (;; connection timed out; no servers could be reached) is not qualified; see cf/README: WHO AM I?

The sendmail.org documentation suggests the use of FEATURE(use_cw_file), which is already in my .mc

It's interesting to note that ";; connection timed out; no servers could be reached) is not qualified; see cf/README: WHO AM I?" actually shows up in the sendmail.cf in a variety of locations (like $j). Manually editing the .cf (bad, I know) and restarting sendmail seems to have no
beneficial effect.

Even my local sendmail guru is confused. Anyone have any other ideas?

3 Comments:

At Friday, January 12, 2007 12:05:00 PM, Blogger cynthia said...

I've no idea. Maybe we can try it on my laptop next weekend. :)

 
At Thursday, April 26, 2007 12:56:00 PM, Anonymous Anonymous said...

https://bugs.launchpad.net/ubuntu/+source/sendmail/+bug/99459

These guys got a handle on it.

 
At Sunday, May 13, 2007 11:06:00 PM, Blogger Seth said...

Dunno if you ever found a solution. But it appears the problem is in the /etc/mail/m4/dialer.m4 file.

On one system I'm running, the file is simply empty and thus has no effect on my sendmail config.

On the system that started exhibiting problems, for "define(`confDOMAIN_NAME', `hostname')dnl" and the Cw and CG lines, I replaced hostname (which was just the hostname) with the FQDN. After I did this, I reran sendmailconfig telling it to use the current sendmail.conf and sendmail.mc files and VOILA! The problem disappeared.

Hope this helps.

 

Post a Comment

Links to this post:

Create a Link

<< Home