Package: sendmail-base Version: 8.13.7-2 Severity: important
For the last four or five days I've been tracking down a problem. I could receive e-mail, but only some of the e-mail would go out. I also saw the following, telnet ::1 25 Trying ::1... Connected to ::1. Escape character is '^]'. 220 ;; ESMTP connection timed out; no servers could be reached Sendmail 8.13.7/8.13.7/Debian-2; Mon, 26 Jun 2006 21:55:05 -0500; (No UCE/UBE) logging access from: ip6-localhost(OK)-ip6-localhost [IPv6:::1] I finally tracked it down to /etc/mail/m4/dialup.m4 (ip replaced with <!-- ip --> only one change) LOCAL_CONFIG #------------------------------------------------------------ # # Dynamic host/ip updates from /etc/network/if-up.d/sendmail # # NOTE: the following line *MUST* be in /etc/mail/sendmail.mc dnl include(`/etc/mail/dialup.m4')dnl # This should *NOT* be included in submit.mc ! # # Make sure we accept mail as this ip (for bounces, etc) Cw<!-- ip --> # # Define our true hostname (from our ISP) - becomes $j define(`confDOMAIN_NAME', `;; connection timed out; no servers could be reached')dnl # # Make sure we accept mail as this name (for bounces, etc) Cw;; connection timed out; no servers could be reached # # Add our hostname to class G for genericstable support CG;; connection timed out; no servers could be reached #------------------------------------------------------------ I was watching for failed DNS queries, using strace and ltrace to see what sendmail was doing starting up, and finally figured out the above. This is a server and doesn't have dynamically changing ip addresses, so I've disabled dialup.m4 in the sendmail configuration file. Maybe in the future the script could avoid setting confDOMAIN_NAME if the DNS query failed. -- System Information: Debian Release: 3.0 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing') Architecture: i386 (i586) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.4.26 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages sendmail-base depends on: ii adduser 3.45 Add and remove users and groups ii m4 1.4-15 a macro processing language ii make 3.79.1-15 The GNU version of the "make" util ii netbase 4.18 Basic TCP/IP networking system ii perl 5.8.7-4 Larry Wall's Practical Extraction Versions of packages sendmail-base recommends: pn resolvconf <none> (no description available) Versions of packages sensible-mda depends on: ii libc6 2.3.6-15 GNU C Library: Shared libraries ii procmail 3.22-2 Versatile e-mail processor. ii sendmail-bin [mail-transport- 8.13.7-2 powerful, efficient, and scalable Versions of packages rmail depends on: ii libc6 2.3.6-15 GNU C Library: Shared libraries ii libldap2 2.1.30-13+b1 OpenLDAP libraries ii sendmail-bin [mail-transpor 8.13.7-2 powerful, efficient, and scalable -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]