Package: sendmail
Version: 8.13.4-3
Severity: grave
Justification: causes non-serious data loss
Hi Cowboy
I did desperately try to track down this error I saw on different systems:
Jun 28 13:53:41 go sendmail[18911]: j5SBrfKk018911: [EMAIL PROTECTED],
ctladdr=benoit (1024/100),
delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31826, relay=[127.0.0.1]
[127.0.0.1],
dsn=4.0.0, stat=Deferred:Connection refused by [127.0.0.1]
Usualy after purging the config and re-installing sendmail everything was
fine.... until I
enabled IPv6 according to the advice in sendmail.mc file which reads:
------------
dnl # If you want to support IPv6, switch the commented/uncommentd lines
FEATURE(`no_default_msa')dnl
DAEMON_OPTIONS(`Family=inet6, Name=MTA-v6, Port=smtp, Addr=::1')dnl
dnl DAEMON_OPTIONS(`Family=inet, Name=MTA-v4, Port=smtp, Addr=127.0.0.1')dnl
DAEMON_OPTIONS(`Family=inet6, Name=MSP-v6, Port=submission, Addr=::1')dnl
dnl DAEMON_OPTIONS(`Family=inet, Name=MSP-v4, Port=submission,
Addr=127.0.0.1')dnl
------------
If you do this, sendmail only binds to the IPv6 Localhost and is not able to
transmit emails
from the MTA to the queue runner (or vice versa?).
You have to twitch submit.mc too:
------------
FEATURE(`msp', `[IPv6:::1]', `MSA')dnl
------------
I remember that older versions of sendmail didn't habe that problem, because
listening on IPv6
did mean you also opened the IPv4 socket.
Probably this has changes somewhen either in the Kernel or in sendmail itself.
-Benoit-
-- Package-specific info:
Ouput of /usr/share/bug/sendmail/script:
ls -alR /etc/mail:
/etc/mail:
insgesamt 224
drwxr-sr-x 4 smmta smmsp 4096 2005-06-28 13:56 .
drwxr-xr-x 115 root root 8192 2005-06-28 13:47 ..
-rw------- 1 root root 4211 2005-06-28 13:46 access
-rw-r----- 1 smmta smmsp 12288 2005-06-28 13:47 access.db
lrwxrwxrwx 1 root smmsp 10 2005-06-28 13:46 aliases -> ../aliases
-rw-r----- 1 smmta smmsp 12288 2005-06-28 13:47 aliases.db
-rw-r--r-- 1 root smmsp 3095 2005-06-28 13:53 databases
-rw-r--r-- 1 root smmsp 35 2005-06-28 13:46 default-auth-info
-rw-r--r-- 1 root root 5588 2005-06-03 18:51 helpfile
-rw-r--r-- 1 root smmsp 13 2005-06-28 13:46 local-host-names
drwxr-sr-x 2 smmta smmsp 4096 2005-06-28 13:47 m4
-rw-r----- 1 root smmsp 0 2005-06-28 13:53 mailertable
-rw-r----- 1 root smmsp 12288 2005-06-28 13:53 mailertable.db
-rwxr-xr-- 1 root smmsp 9911 2005-06-28 13:53 Makefile
-rw-r--r-- 1 root smmsp 63816 2005-06-28 13:53 sendmail.cf
-rw-r--r-- 1 root root 11882 2005-06-28 13:47 sendmail.conf
-rw-r--r-- 1 root smmsp 3891 2005-06-28 13:53 sendmail.mc
-rw-r--r-- 1 root smmsp 43944 2005-06-28 13:56 submit.cf
-rw-r--r-- 1 root smmsp 2325 2005-06-28 13:56 submit.mc
drwxr-xr-x 2 smmta smmsp 4096 2005-06-28 13:46 tls
-rw-r--r-- 1 root smmsp 0 2005-06-28 13:46 trusted-users
/etc/mail/m4:
insgesamt 8
drwxr-sr-x 2 smmta smmsp 4096 2005-06-28 13:47 .
drwxr-sr-x 4 smmta smmsp 4096 2005-06-28 13:56 ..
-rw-r----- 1 root smmsp 0 2005-06-28 13:47 dialup.m4
-rw-r----- 1 root smmsp 0 2005-06-28 13:47 provider.m4
/etc/mail/tls:
insgesamt 44
drwxr-xr-x 2 smmta smmsp 4096 2005-06-28 13:46 .
drwxr-sr-x 4 smmta smmsp 4096 2005-06-28 13:56 ..
-rw-r--r-- 1 root root 7 2005-06-28 13:46 no_prompt
-rw------- 1 root root 1191 2005-06-28 13:46 sendmail-client.cfg
-rw-r--r-- 1 root smmsp 1155 2005-06-28 13:46 sendmail-client.crt
-rw------- 1 root root 976 2005-06-28 13:46 sendmail-client.csr
-rw-r----- 1 root smmsp 1675 2005-06-28 13:46 sendmail-common.key
-rw------- 1 root root 0 2005-06-28 13:46 sendmail-common.prm
-rw------- 1 root root 1191 2005-06-28 13:46 sendmail-server.cfg
-rw-r--r-- 1 root smmsp 1155 2005-06-28 13:46 sendmail-server.crt
-rw------- 1 root root 976 2005-06-28 13:46 sendmail-server.csr
-rwxr--r-- 1 root root 3145 2005-06-28 13:47 starttls.m4
sendmail.conf:
DAEMON_NETMODE="Static";
DAEMON_NETIF="lo";
DAEMON_MODE="Daemon";
DAEMON_PARMS="";
DAEMON_HOSTSTATS="No";
DAEMON_MAILSTATS="No";
QUEUE_MODE="${DAEMON_MODE}";
QUEUE_INTERVAL="10m";
QUEUE_PARMS="";
MSP_MODE="Cron";
MSP_INTERVAL="20m";
MSP_PARMS="";
MSP_MAILSTATS="${DAEMON_MAILSTATS}";
MISC_PARMS="";
CRON_MAILTO="root";
CRON_PARMS="";
LOG_CMDS="No";
HANDS_OFF="No";
AGE_DATA="";
DAEMON_RUNASUSER="No";
DAEMON_STATS="${DAEMON_MAILSTATS}";
MSP_STATS="${MSP_MAILSTATS}";
sendmail.mc:
divert(-1)dnl
divert(0)dnl
define(`_USE_ETC_MAIL_')dnl
include(`/usr/share/sendmail/cf/m4/cf.m4')dnl
VERSIONID(`$Id: sendmail.mc, v 8.13.4-3 2005-06-03 16:49:22 cowboy Exp $')
OSTYPE(`debian')dnl
DOMAIN(`debian-mta')dnl
undefine(`confHOST_STATUS_DIRECTORY')dnl #DAEMON_HOSTSTATS=
FEATURE(`no_default_msa')dnl
DAEMON_OPTIONS(`Family=inet6, Name=MTA-v6, Port=smtp, Addr=::1')dnl
DAEMON_OPTIONS(`Family=inet6, Name=MSP-v6, Port=submission, Addr=::1')dnl
define(`confPRIVACY_FLAGS',dnl
`needmailhelo,needexpnhelo,needvrfyhelo,restrictqrun,restrictexpand,nobodyreturn,authwarnings')dnl
define(`confCONNECTION_RATE_THROTTLE', `15')dnl
define(`confCONNECTION_RATE_WINDOW_SIZE',`10m')dnl
FEATURE(`access_db', , `skip')dnl
FEATURE(`greet_pause', `1000')dnl 1 seconds
FEATURE(`delay_checks', `friend', `n')dnl
define(`confBAD_RCPT_THROTTLE',`3')dnl
FEATURE(`conncontrol', `nodelay', `terminate')dnl
FEATURE(`ratecontrol', `nodelay', `terminate')dnl
FEATURE(`mailertable')dnl
define(`SMART_HOST', `godot.imp.ch')
MAILER_DEFINITIONS
MAILER(`local')dnl
MAILER(`smtp')dnl
submit.mc...
divert(-1)dnl
divert(0)dnl
define(`_USE_ETC_MAIL_')dnl
include(`/usr/share/sendmail/cf/m4/cf.m4')dnl
VERSIONID(`$Id: submit.mc, v 8.13.4-3 2005-06-03 16:49:22 cowboy Exp $')
OSTYPE(`debian')dnl
DOMAIN(`debian-msp')dnl
FEATURE(`msp', `[IPv6:::1]', `MSA')dnl
include(`/etc/mail/tls/starttls.m4')dnl
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.11.11
Locale: LANG=de_CH, LC_CTYPE=de_CH (charmap=ISO-8859-1)
Versions of packages sendmail depends on:
ii rmail 8.13.4-3 MTA->UUCP remote mail handler
ii sendmail-base 8.13.4-3 powerful, efficient, and scalable
ii sendmail-bin 8.13.4-3 powerful, efficient, and scalable
ii sendmail-cf 8.13.4-3 powerful, efficient, and scalable
ii sensible-mda 8.13.4-3 Mail Delivery Agent wrapper
Versions of packages sensible-mda depends on:
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
ii procmail 3.22-11 Versatile e-mail processor
ii sendmail-bin [mail-transpor 8.13.4-3 powerful, efficient, and scalable
Versions of packages rmail depends on:
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
ii libldap2 2.1.30-8 OpenLDAP libraries
ii sendmail-bin [mail-transpor 8.13.4-3 powerful, efficient, and scalable
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]