Package: sendmail
Version: 8.14.4-4
Severity: important
Tags: patch

Hello,

Sendmail 8.14.4-4 fails with an error message under rare conditions:
http://serverfault.com/questions/482035/sendmail-issue-with-ipv6

If a domain has an MX record that is a CNAME that has both A and AAAA
records, sendmail can create an IPv4 socket and then attempt to bind
it to an IPv6 address (if a bind address is set in Client Options),
which fails.

The Ubuntu folks have a patch:
Ubuntu bug: https://bugs.launchpad.net/ubuntu/+source/sendmail/+bug/1223633
Patch: https://launchpadlibrarian.net/149925062/conf.c-ipv6.patch

Any chance this could be brought over into Wheezy's Sendmail?

Regards,

David.

-- Package-specific info:
Ouput of /usr/share/bug/sendmail/script:

ls -alR /etc/mail:
/etc/mail:
total 1668
drwxr-sr-x   9 smmta smmsp  4096 Jan 30 11:09 .
drwxr-xr-x 206 root  root  16384 Jan 30 11:28 ..
-rwxr-xr--   1 root  smmsp 10843 Oct 29 15:35 Makefile
-rw-r--r--   1 root  smmsp  4497 Oct 29 15:35 access
-rw-r--r--   1 root  smmsp 75525 Oct 29 15:35 access.1
-rw-r--r--   1 root  smmsp  4261 Dec 17  2012 access.10
-rw-r--r--   1 root  smmsp 75451 Dec 19  2012 access.2
-rw-r--r--   1 root  smmsp 92665 Dec 19  2012 access.3
-rw-r--r--   1 root  smmsp 75451 Dec 19  2012 access.4
-rw-r--r--   1 root  smmsp 92665 Dec 19  2012 access.5
-rw-r--r--   1 root  smmsp  4497 Dec 19  2012 access.6
-rw-r--r--   1 root  smmsp 92665 Dec 17  2012 access.7
-rw-r--r--   1 root  smmsp 92665 Dec 17  2012 access.8
-rw-r--r--   1 root  smmsp 92665 Dec 17  2012 access.9
-rw-r-----   1 smmta smmsp 12288 Oct 29 15:35 access.db
-rw-r--r--   1 root  root    281 Sep 21  2010 address.resolve
lrwxrwxrwx   1 root  smmsp    10 May 18  2012 aliases -> ../aliases
-rw-r-----   1 smmta smmsp 12288 May  6  2013 aliases.db
drwxr-sr-x   2 root  smmsp  4096 Jan 30 11:30 canit
-rw-r--r--   1 root  smmsp  3225 Oct 29 15:35 databases
-rw-r-----   1 smmta smmsp    59 May 19  2012 default-auth-info
-rw-r--r--   1 root  root   5657 Sep 21  2010 helpfile
-rw-r--r--   1 root  smmsp    38 May 18  2012 local-host-names
drwxr-sr-x   2 smmta smmsp  4096 May 18  2012 m4
-rw-r--r--   1 root  smmsp   238 Oct 29 15:35 mailertable
-rw-r--r--   1 root  smmsp 50404 Oct 29 15:35 mailertable.1
-rw-r--r--   1 root  smmsp     2 Dec 17  2012 mailertable.10
-rw-r--r--   1 root  smmsp 50355 Dec 19  2012 mailertable.2
-rw-r--r--   1 root  smmsp 62538 Dec 19  2012 mailertable.3
-rw-r--r--   1 root  smmsp 50355 Dec 19  2012 mailertable.4
-rw-r--r--   1 root  smmsp 62538 Dec 19  2012 mailertable.5
-rw-r--r--   1 root  smmsp   238 Dec 19  2012 mailertable.6
-rw-r--r--   1 root  smmsp 62538 Dec 17  2012 mailertable.7
-rw-r--r--   1 root  smmsp 62538 Dec 17  2012 mailertable.8
-rw-r--r--   1 root  smmsp 62538 Dec 17  2012 mailertable.9
-rw-r-----   1 smmta smmsp 12288 Oct 29 15:35 mailertable.db
-rw-r--r--   1 root  smmsp 12933 May 22  2012 mimedefang-filter
-rw-r--r--   1 root  smmsp 12933 Jan 30 11:09 mimedefang-filter.example
drwxr-xr-x   2 root  root   4096 May  6  2013 peers
drwxr-xr-x   2 smmta smmsp  4096 May 19  2012 sasl
-rw-r--r--   1 root  smmsp 63034 Oct 30 16:38 sendmail.cf
-rw-r--r--   1 root  root  63034 Jul  4  2013 sendmail.cf.old
-rw-r--r--   1 root  root  12236 Jul  4  2013 sendmail.conf
-rw-r--r--   1 root  smmsp  3249 Oct 29 15:35 sendmail.mc
-rw-r--r--   1 root  smmsp  3050 May 22  2012 sendmail.mc.orig
-rw-r--r--   1 root  root    149 Sep 21  2010 service.switch
-rw-r--r--   1 root  root    180 Sep 21  2010 service.switch-nodns
drwxr-sr-x   2 smmta smmsp  4096 May 22  2012 smrsh
drwxr-sr-x   2 root  smmsp  4096 Aug  2 16:16 spamassassin
-rw-r--r--   1 root  smmsp 44815 Jul  4  2013 submit.cf
-rw-r--r--   1 root  root  44867 Jul  4  2013 submit.cf.old
-rw-r--r--   1 root  smmsp  2998 Jul  4  2013 submit.mc
drwxr-xr-x   2 smmta smmsp  4096 May 18  2012 tls
-rw-r--r--   1 root  smmsp     0 May 18  2012 trusted-users

/etc/mail/canit:
total 36
drwxr-sr-x 2 root  smmsp 4096 Jan 30 11:30 .
drwxr-sr-x 9 smmta smmsp 4096 Jan 30 11:09 ..
-rw------- 1 root  smmsp   81 Jan 30 11:31 canit-api-client.conf
-rw-r--r-- 1 root  smmsp  195 Jan 30 11:09 canit-cluster-member-id
-rw-r--r-- 1 root  smmsp  259 Jan 30 11:14 canit.conf
-rw-r--r-- 1 root  smmsp  259 Jan 30 11:09 sa-canit.cf
-rw-r--r-- 1 root  smmsp  159 Jan 30 11:08 virus-scanners.pl
-rw-r--r-- 1 root  smmsp 4624 Jan 30 11:09 virus-scanners.pl.DIST

/etc/mail/m4:
total 8
drwxr-sr-x 2 smmta smmsp 4096 May 18  2012 .
drwxr-sr-x 9 smmta smmsp 4096 Jan 30 11:09 ..
-rw-r----- 1 root  smmsp    0 May 18  2012 dialup.m4
-rw-r----- 1 root  smmsp    0 May 18  2012 provider.m4

/etc/mail/peers:
total 12
drwxr-xr-x 2 root  root  4096 May  6  2013 .
drwxr-sr-x 9 smmta smmsp 4096 Jan 30 11:09 ..
-rw-r--r-- 1 root  root   328 Sep 21  2010 provider

/etc/mail/sasl:
total 16
drwxr-xr-x 2 smmta smmsp 4096 May 19  2012 .
drwxr-sr-x 9 smmta smmsp 4096 Jan 30 11:09 ..
-rw-r----- 1 smmta smmsp  885 May 19  2012 Sendmail.conf.2
-rwxr--r-- 1 root  root  3670 Jul  4  2013 sasl.m4

/etc/mail/smrsh:
total 8
drwxr-sr-x 2 smmta smmsp 4096 May 22  2012 .
drwxr-sr-x 9 smmta smmsp 4096 Jan 30 11:09 ..
lrwxrwxrwx 1 root  smmsp   26 May 18  2012 mail.local -> 
/usr/lib/sm.bin/mail.local
lrwxrwxrwx 1 root  smmsp   33 May 22  2012 message-to-file.pl -> 
/usr/local/bin/message-to-file.pl
lrwxrwxrwx 1 root  smmsp   17 May 18  2012 procmail -> /usr/bin/procmail

/etc/mail/spamassassin:
total 172
drwxr-sr-x 2 root  smmsp   4096 Aug  2 16:16 .
drwxr-sr-x 9 smmta smmsp   4096 Jan 30 11:09 ..
-rw-r--r-- 1 root  smmsp   1299 Jan 30 11:09 69_canit_rules.cf
-rw-r--r-- 1 root  smmsp   4883 Jan 30 11:09 69_random.current.cf
lrwxrwxrwx 1 root  smmsp     42 May 22  2012 69_rp_dynamic.cf -> 
/var/spool/MD-Bayes/rules/69_rp_dynamic.cf
-rw-r--r-- 1 root  smmsp   7695 Jan 30 11:09 69_rp_porn.cf
-rw-r--r-- 1 root  smmsp 105394 Jan 30 11:09 69_virus_warnings.cf
-rw-r--r-- 1 root  smmsp   3880 Jan 30 11:09 69_weeds.cf
-rw-r--r-- 1 root  smmsp   2324 Jan 30 11:09 72_score_compensate.cf
-rw-r--r-- 1 root  smmsp    186 Jan 30 11:09 98_rp_phish.cf
-rw-r--r-- 1 root  smmsp   1303 May 22  2012 init.pre
-rw-r--r-- 1 root  smmsp   2214 May 22  2012 local.cf
-rw-r--r-- 1 root  smmsp   2540 May 22  2012 v310.pre
-rw-r--r-- 1 root  smmsp   1196 May 22  2012 v312.pre
-rw-r--r-- 1 root  smmsp   2418 May 22  2012 v320.pre
-rw-r--r-- 1 root  smmsp   1237 May 22  2012 v330.pre

/etc/mail/tls:
total 48
drwxr-xr-x 2 smmta smmsp 4096 May 18  2012 .
drwxr-sr-x 9 smmta smmsp 4096 Jan 30 11:09 ..
-rw-r--r-- 1 root  root     7 May 18  2012 no_prompt
-rw------- 1 root  root  1191 May 18  2012 sendmail-client.cfg
-rw-r--r-- 1 root  smmsp 1294 May 18  2012 sendmail-client.crt
-rw------- 1 root  root  1045 May 18  2012 sendmail-client.csr
-rw-r----- 1 root  smmsp 1679 May 18  2012 sendmail-common.key
-rw-r----- 1 root  smmsp 1582 May 18  2012 sendmail-common.prm
-rw------- 1 root  root  1191 May 18  2012 sendmail-server.cfg
-rw-r--r-- 1 root  smmsp 1294 May 18  2012 sendmail-server.crt
-rw------- 1 root  root  1045 May 18  2012 sendmail-server.csr
-rwxr--r-- 1 root  root  3245 Jul  4  2013 starttls.m4

sendmail.conf:
DAEMON_NETMODE="Static";
DAEMON_NETIF="eth0";
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$')
OSTYPE(`debian')dnl
DOMAIN(`debian-mta')dnl
undefine(`confHOST_STATUS_DIRECTORY')dnl                #DAEMON_HOSTSTATS 
undefine(`confHOST_STATUS_DIRECTORY')dnl
define(`confDEAD_LETTER_DROP',`')dnl
define(`confMAX_HOP',`30')dnl
define(`RELAY_MAILER_LL',`0')dnl
define(`confSMTP_LOGIN_MSG',`$j CanIt-Appliance')dnl
define(`confMILTER_LOG_LEVEL',`9')dnl
define(`confLOG_LEVEL',`9')dnl
define(`confSAFE_QUEUE',`PostMilter')dnl
define(`confSHARED_MEMORY_KEY', `13521')dnl
define(`confTO_QUEUERETURN_DSN',`12h')dnl
define(`confDOUBLE_BOUNCE_ADDRESS',`')dnl
define(`confPRIVACY_FLAGS',`needmailhelo,needexpnhelo,needvrfyhelo,restrictqrun,restrictexpand,nobodyreturn,authwarnings,novrfy,noexpn')dnl
define(`confQUEUE_LA',`1000')dnl
define(`confREFUSE_LA',`500')dnl
define(`confTO_IDENT',`0s')dnl
define(`confTO_COMMAND',`5m')dnl
define(`confTO_DATABLOCK',`10m')dnl
define(`confTO_ICONNECT', `1m')dnl
 FEATURE(`accept_unresolvable_domains')dnl
FEATURE(`nocanonify')dnl
FEATURE(`access_db')dnl
FEATURE(`mailertable')dnl
FEATURE(`greet_pause', `100')dnl 0.1 second
FEATURE(`delay_checks', `friend', `n')dnl
FEATURE(`relay_hosts_only')dnl
define(`confBAD_RCPT_THROTTLE',`3')dnl
FEATURE(`always_add_domain')dnl
FEATURE(`use_cw_file')dnl
FEATURE(`use_ct_file')dnl
MODIFY_MAILER_FLAGS(`ESMTP', `+C')
MODIFY_MAILER_FLAGS(`SMTP', `+C')
MODIFY_MAILER_FLAGS(`SMTP8', `+C')
MODIFY_MAILER_FLAGS(`DSMTP', `+C')
MODIFY_MAILER_FLAGS(`RELAY', `+C')
MAILER_DEFINITIONS
MAILER(`local')dnl
MAILER(`smtp')dnl
INPUT_MAIL_FILTER(`mimedefang', `S=unix:/var/spool/MIMEDefang/mimedefang.sock, 
F=T, T=S:360s;R:360s;E:15m')

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
FEATURE(`use_ct_file')dnl
define(`confDEAD_LETTER_DROP',`')dnl
define(`confREFUSE_LA',`500')dnl
define(`confQUEUE_LA',`1000')dnl
define(`confQUEUE_SORT_ORDER',`random')dnl
define(`confMAX_QUEUE_CHILDREN',`8')dnl
define(`RELAY_MAILER_LL',`0')dnl
DOMAIN(`debian-msp')dnl
define(`confMIN_QUEUE_AGE',`3m')dnl
define(`confTO_MAIL',`20s')dnl
define(`confMAX_HOP',`40')dnl
FEATURE(`accept_unresolvable_domains')dnl
FEATURE(`nocanonify')dnl
FEATURE(`msp', `[127.0.0.1]', `MSA')dnl


-- System Information:
Debian Release: 7.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10.9 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages sendmail depends on:
ii  sendmail-base  8.14.4-4
ii  sendmail-bin   8.14.4-4
ii  sendmail-cf    8.14.4-4
ii  sensible-mda   8.14.4-4

sendmail recommends no packages.

Versions of packages sendmail suggests:
ii  rmail         8.14.4-4
ii  sendmail-doc  8.14.4-4

Versions of packages sensible-mda depends on:
ii  libc6                                2.13-38
ii  procmail                             3.22-20
ii  sendmail-bin [mail-transport-agent]  8.14.4-4

Versions of packages rmail depends on:
ii  libc6                                2.13-38
ii  libldap-2.4-2                        2.4.31-1+nmu2
ii  sendmail-bin [mail-transport-agent]  8.14.4-4

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to