Package: sendmail Version: 8.15.2-8 Severity: normal Tags: upstream Dear Maintainer,
Email headers are becoming larger and larger, and this Sendmail bug is starting to hurt: ======================================================================== * milter communication fails if a single header is larger than 64K. If a single header is larger than 64KB (which is not possible in the default configuration) then it cannot be transferred in one block to libmilter and hence the communication fails. This can be avoided by increasing the constant MILTER_CHUNK_SIZE in include/libmilter/mfdef.h and recompiling sendmail, libmilter, and all (statically linked) milters (or by using undocumented compile time options: _FFR_MAXDATASIZE/_FFR_MDS_NEGOTIATE; you have to read the source code in order to use these properly). ======================================================================== Would you be willing to increase MILTER_CHUNK_SIZE to 256K (262144) in the Debian-packaged versions of Sendmail, libmilter, etc? Regards, Dianne. -- Package-specific info: Output of /usr/share/bug/sendmail/script: ls -alR /etc/mail: /etc/mail: total 356 drwxr-sr-x 7 smmta smmsp 4096 Jul 3 23:05 . drwxr-xr-x 213 root root 20480 Aug 6 07:09 .. -rwxr-xr-- 1 root smmsp 10217 Jul 3 23:05 Makefile -rw------- 1 root root 4389 Jul 3 23:05 access -rw-r----- 1 smmta smmsp 12288 Jul 3 23:05 access.db -rw-r--r-- 1 root root 281 Feb 11 2013 address.resolve lrwxrwxrwx 1 root smmsp 10 Oct 23 2014 aliases -> ../aliases -rw-r----- 1 smmta smmsp 12288 Jul 3 23:05 aliases.db -rw-r--r-- 1 root root 3312 Jul 3 23:05 databases -rw-r--r-- 1 root root 5659 Dec 8 2016 helpfile -rw-r--r-- 1 root smmsp 44 Jun 26 11:06 local-host-names drwxr-sr-x 2 smmta smmsp 4096 Oct 23 2014 m4 drwxr-xr-x 2 root root 4096 Jul 3 23:05 peers drwxr-xr-x 2 root smmsp 4096 Feb 11 2013 sasl -rw-r--r-- 1 root smmsp 62885 Jul 3 23:05 sendmail.cf -rw-r--r-- 1 root root 62354 Jul 3 23:05 sendmail.cf.old -rw-r--r-- 1 root root 12238 Jul 3 23:05 sendmail.conf -rw-r--r-- 1 root smmsp 4416 Jul 3 23:05 sendmail.mc -rw-r--r-- 1 root root 149 Feb 11 2013 service.switch -rw-r--r-- 1 root root 180 Feb 11 2013 service.switch-nodns drwxr-sr-x 2 smmta smmsp 4096 Oct 23 2014 smrsh -rw-r--r-- 1 root smmsp 44592 Jul 3 23:05 submit.cf -rw-r--r-- 1 root root 44034 Jul 3 23:05 submit.cf.old -rw-r--r-- 1 root smmsp 2374 Jul 3 23:05 submit.mc drwxr-xr-x 2 smmta smmsp 4096 Oct 23 2014 tls -rw-r--r-- 1 root smmsp 0 Oct 23 2014 trusted-users /etc/mail/m4: total 8 drwxr-sr-x 2 smmta smmsp 4096 Oct 23 2014 . drwxr-sr-x 7 smmta smmsp 4096 Jul 3 23:05 .. -rw-r----- 1 root smmsp 0 Oct 23 2014 dialup.m4 -rw-r----- 1 root smmsp 0 Oct 23 2014 provider.m4 /etc/mail/peers: total 12 drwxr-xr-x 2 root root 4096 Jul 3 23:05 . drwxr-sr-x 7 smmta smmsp 4096 Jul 3 23:05 .. -rw-r--r-- 1 root root 328 Feb 11 2013 provider /etc/mail/sasl: total 8 drwxr-xr-x 2 root smmsp 4096 Feb 11 2013 . drwxr-sr-x 7 smmta smmsp 4096 Jul 3 23:05 .. /etc/mail/smrsh: total 8 drwxr-sr-x 2 smmta smmsp 4096 Oct 23 2014 . drwxr-sr-x 7 smmta smmsp 4096 Jul 3 23:05 .. lrwxrwxrwx 1 root smmsp 26 Oct 23 2014 mail.local -> /usr/lib/sm.bin/mail.local lrwxrwxrwx 1 root smmsp 17 Oct 23 2014 procmail -> /usr/bin/procmail /etc/mail/tls: total 48 drwxr-xr-x 2 smmta smmsp 4096 Oct 23 2014 . drwxr-sr-x 7 smmta smmsp 4096 Jul 3 23:05 .. -rw-r--r-- 1 root root 7 Oct 23 2014 no_prompt -rw------- 1 root root 1191 Oct 23 2014 sendmail-client.cfg -rw-r--r-- 1 root smmsp 1273 Oct 23 2014 sendmail-client.crt -rw------- 1 root root 1037 Oct 23 2014 sendmail-client.csr -rw-r----- 1 root smmsp 1679 Oct 23 2014 sendmail-common.key -rw-r----- 1 root smmsp 1598 Oct 23 2014 sendmail-common.prm -rw------- 1 root root 1191 Oct 23 2014 sendmail-server.cfg -rw-r--r-- 1 root smmsp 1273 Oct 23 2014 sendmail-server.crt -rw------- 1 root root 1037 Oct 23 2014 sendmail-server.csr -rwxr--r-- 1 root root 3242 Jul 3 23:05 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="Daemon"; 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.14.4-4 2013-02-11 11:12:33 cowboy Exp $') OSTYPE(`debian')dnl DOMAIN(`debian-mta')dnl undefine(`confHOST_STATUS_DIRECTORY')dnl #DAEMON_HOSTSTATS= define(`SMART_HOST',`[192.168.82.2]')dnl FEATURE(`no_default_msa')dnl DAEMON_OPTIONS(`Family=inet, Name=MTA-v4, Port=smtp')dnl DAEMON_OPTIONS(`Family=inet, Name=MSP-v4, Port=submission, M=Ea, Addr=127.0.0.1')dnl include(`/etc/mail/tls/starttls.m4')dnl define(`confPRIVACY_FLAGS',dnl `needmailhelo,needexpnhelo,needvrfyhelo,restrictqrun,restrictexpand,nobodyreturn,authwarnings')dnl FEATURE(`use_cw_file')dnl FEATURE(`access_db', , `skip')dnl FEATURE(`delay_checks', `friend', `n')dnl include(`/etc/mail/m4/dialup.m4')dnl include(`/etc/mail/m4/provider.m4')dnl define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl FEATURE(`local_procmail')dnl 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.14.4-4 2013-02-11 11:12:33 cowboy Exp $') OSTYPE(`debian')dnl DOMAIN(`debian-msp')dnl FEATURE(`msp', `[127.0.0.1]', `25')dnl -- System Information: Debian Release: 9.1 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/12 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968), LANGUAGE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages sendmail depends on: ii sendmail-base 8.15.2-8 ii sendmail-bin 8.15.2-8 ii sendmail-cf 8.15.2-8 ii sensible-mda 8.15.2-8 sendmail recommends no packages. Versions of packages sendmail suggests: pn rmail <none> pn sendmail-doc <none> Versions of packages sensible-mda depends on: ii libc6 2.24-11+deb9u1 ii procmail 3.22-25+b1 ii sendmail-bin [mail-transport-agent] 8.15.2-8 Versions of packages libmilter1.0.1 depends on: ii libc6 2.24-11+deb9u1 Versions of packages sendmail-bin depends on: ii debconf 1.5.61 ii libc6 2.24-11+deb9u1 ii libdb5.3 5.3.28-12+b1 ii libldap-2.4-2 2.4.44+dfsg-5 ii liblockfile1 1.14-1+b1 ii libsasl2-2 2.1.27~101-g0780600+dfsg-3 ii libssl1.1 1.1.0f-3 ii libwrap0 7.6.q-26 ii lsb-base 9.20161125 ii procps 2:3.3.12-3 ii sendmail-base 8.15.2-8 ii sendmail-cf 8.15.2-8 Versions of packages sendmail-bin suggests: ii libsasl2-modules 2.1.27~101-g0780600+dfsg-3 ii openssl 1.1.0f-3 pn sasl2-bin <none> pn sendmail-doc <none> -- no debconf information