[feisty] sendmail unable to automatically determine domain name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sendmail (Debian) |
Fix Released
|
Unknown
|
|||
sendmail (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: sendmail
After upgrading from edgy to feisty, sendmail is no longer able to automatically determine domain name, and then, fails to send mails.
A locally generated email for a remote destination shows:
===
Received: from xxx.mydomain.tld (localhost [127.0.0.1])
by ;; connection timed out; no servers could be reached
(8.13.8/
Sat, 31 Mar 2007 16:17:44 +0200
Received: (from yyy@localhost)
by xxx.mydomain.tld (8.13.8/
Sat, 31 Mar 2007 16:17:44 +0200
===
it triggers a bounce:
reason: 501 Syntactically invalid HELO argument(s))
and in the logs, sm-mta says "DSN: Service unavailable"
This ";;" comes from sendmail.cf:
root@xxx:/etc/mail # grep ';;' *
sendmail.cf:Dj;; connection timed out; no servers could be reached
sendmail.cf:Cw;; connection timed out; no servers could be reached
sendmail.cf:CG;; connection timed out; no servers could be reached
which is :
# my official domain name
# ... define this only if sendmail cannot automatically determine your domain
Dj;; connection timed out; no servers could be reached
I expected no Dj at all.
this .cf is automatically generated from sendmail.{mc,conf} using the provided Makefile.
root@xxx:/etc/mail # telnet 127.0.0.1 587
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
220 ;; ESMTP connection timed out; no servers could be reached Sendmail 8.13.8/
This issue is new to festy. Edgy was okay. I'm no longer able to send any mail from this feisty box and I can't find a way to fix that, please advise.
Changed in sendmail (Debian): | |
status: | Unknown → Fix Released |
Changed in sendmail (Ubuntu): | |
status: | Confirmed → Fix Released |
Seems like it comes from a bad /etc/mail/ m4/dialup. m4
root@xxx:/etc/mail # grep -v ^# /etc/mail/ m4/dialup. m4 `/etc/mail/ dialup. m4')dnl `confDOMAIN_ NAME', `;; connection timed out; no servers could be reached')dnl
LOCAL_CONFIG
dnl include(
Cw1.2.3.4
define(
Cw;; connection timed out; no servers could be reached
CG;; connection timed out; no servers could be reached
root@xxx:/etc/mail #
It works if I remove (or dnl) the lines after the 1st Cw and rebuild the confs.
I don't know how those lines ended up there. They appeared during the upgrade from edgy to feisty (amd64) using upgrade-manager -d.