Bug#790616: exim4: exim crashes when sending email to more then one recipient

2015-07-02 Thread Andreas Metzler
Control: found -1 4.86~RC1-1
Control: forwarded -1 https://bugs.exim.org/show_bug.cgi?id=1655

On 2015-07-01 Giacomo Mulas gmu...@oa-cagliari.inaf.it wrote:
[...]
 I upgraded to 4.85-3 at the end of April, I think I would have noticed this
 problem rather quickly, so I would definitely vote for 4.86~RC3-2, which
 happened on the 24th of June.  However I cannot be completely sure: since
 the problem shows only when sending email to multiple recipients, it is in
 principle possible that the problem was unnoticed for a while, but this is
 very very unlikely. To be sure about this, I would need to downgrade exim4
 to earlier versions and check if the problem is present.

Hello,

I have been able to verify this, the breakage happened in 4.86RC1.
(snapshot.debian.org to the rescue.)

 However, as I already said in a previous email, the culprit appears to be
 sa-exim (which has been unchanged for well over a year), which must have
 been broken by some recent ABI change in exim4: just recompiling sa-exim
 from its source package against the current exim4-dev and installing the
 resulting package (as I did locally) fixes the problem.

The breakage needs to be reflected in the Debian package dependencies
which rely on a upstream ABI counter that needs to be bumped. I have
submitted a upstream report about this.

 checking whether the problem is present is trivial,
[ helpful description ]

Thanks for the help, we should be able to fix this for the 4.86
release.

cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'


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



Bug#790616: exim4: exim crashes when sending email to more then one recipient

2015-07-01 Thread Giacomo Mulas

On Tue, 30 Jun 2015, Andreas Metzler wrote:


On 2015-06-30 Giacomo Mulas gmu...@oa-cagliari.inaf.it wrote:

Package: exim4
Version: 4.86~RC4-1
Severity: important



Dear Maintainer,



Since 2 updates in sid, exim4 crashes (and fails to deliver) whenever
attempting to send an email to more than one recipient.

[...]

Hello Giacomo,

are you able to limit this further, did it break with 4.86~RC3-2 or
earlier (4.85-3)? (/var/log/apt/history.log or /var/log/dpkg.log might
help)


I upgraded to 4.85-3 at the end of April, I think I would have noticed this
problem rather quickly, so I would definitely vote for 4.86~RC3-2, which
happened on the 24th of June.  However I cannot be completely sure: since
the problem shows only when sending email to multiple recipients, it is in
principle possible that the problem was unnoticed for a while, but this is
very very unlikely. To be sure about this, I would need to downgrade exim4
to earlier versions and check if the problem is present.

However, as I already said in a previous email, the culprit appears to be
sa-exim (which has been unchanged for well over a year), which must have
been broken by some recent ABI change in exim4: just recompiling sa-exim
from its source package against the current exim4-dev and installing the
resulting package (as I did locally) fixes the problem.

checking whether the problem is present is trivial, even from the command
line: just create a dummy text file and issue a command like

$ mail oneem...@some.domain.org,anotherem...@some.domain.org mydummytext.txt

If you have the broken sa-exim + exim4 combo, this will fail, and you
will get a

local_scan() function crashed with signal 11 - message temporarily rejected (size 
some size)

message on exim's mainlog.

Let me know if I can do something more about this. If you can point me to
some debian archive with previous versions of the exim4 packages, I can do a
bisection to determine exactly which exim4 upgrade broke sa-exim.

Bye
Giacomo

--
_

Giacomo Mulas gmu...@oa-cagliari.inaf.it
_

INAF - Osservatorio Astronomico di Cagliari
via della scienza 5 - 09047 Selargius (CA)

tel.   +39 070 71180244
mob. : +39 329  6603810
_

When the storms are raging around you, stay right where you are
 (Freddy Mercury)
_


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



Bug#790616: exim4: exim crashes when sending email to more then one recipient

2015-06-30 Thread Marc Haber
On Tue, Jun 30, 2015 at 01:48:23PM +0200, Giacomo Mulas wrote:
 Since 2 updates in sid, exim4 crashes (and fails to deliver) whenever
 attempting to send an email to more than one recipient. It does not matter
 whether the recipients are all in the To: field, or in CC:, BCC:, in any
 case if there is more than one recipient exim crashes with the following
 message on the log:
 
 message ID local_scan() function crashed with signal 11 - message 
 temporarily rejected (size actual size)

What are you using as local_scan mechanism? afaik, it is not used in
the default config.

Greetings
Marc

-- 
-
Marc Haber | I don't trust Computers. They | Mailadresse im Header
Leimen, Germany|  lose things.Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421


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



Bug#790616: exim4: exim crashes when sending email to more then one recipient

2015-06-30 Thread Giacomo Mulas

Package: exim4
Version: 4.86~RC4-1
Severity: important

Dear Maintainer,

Since 2 updates in sid, exim4 crashes (and fails to deliver) whenever
attempting to send an email to more than one recipient. It does not matter
whether the recipients are all in the To: field, or in CC:, BCC:, in any
case if there is more than one recipient exim crashes with the following
message on the log:

message ID local_scan() function crashed with signal 11 - message temporarily 
rejected (size actual size)

I initially blamed alpine (my default mail user agent), but I can 
reproduce the bug here even with sendmail or mailx.


Please let me know how I can obtain more detailed information to help to
track this down: this cripples local handling of email so it is really
annoying for my users and I would like to help as much as I can to resolve
this as quickly as possible.

Bye
Giacomo Mulas

-- Package-specific info:
Exim version 4.86_RC4 #2 built 29-Jun-2015 05:43:19
Copyright (c) University of Cambridge, 1995 - 2015
(c) The Exim Maintainers and contributors in ACKNOWLEDGMENTS file, 2007 - 
2015

Berkeley DB: Berkeley DB 5.3.28: (September  9, 2013)
Support for: crypteq iconv() IPv6 PAM Perl Expand_dlfunc GnuTLS 
move_frozen_messages Content_Scanning DKIM Old_Demime DNSSEC PRDR OCSP
Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm 
dbmjz dbmnz dnsdb dsearch ldap ldapdn ldapm mysql nis nis0 passwd pgsql 
sqlite

Authenticators: cram_md5 cyrus_sasl dovecot plaintext spa tls
Routers: accept dnslookup ipliteral iplookup manualroute queryprogram 
redirect

Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 8
Configuration file is /var/lib/exim4/config.autogenerated
# /etc/exim4/update-exim4.conf.conf
#
# Edit this file and /etc/mailname by hand and execute update-exim4.conf
# yourself or use 'dpkg-reconfigure exim4-config'
#
# Please note that this is _not_ a dpkg-conffile and that automatic 
changes

# to this file might happen. The code handling this will honor your local
# changes, so this is usually fine, but will break local schemes that mess
# around with multiple versions of the file.
#
# update-exim4.conf uses this file to determine variable values to replace
# the DEBCONFsomethingDEBCONF strings in the configuration template files.
#
# Most settings found in here do have corresponding questions in the
# Debconf configuration, but not all of them.
#
# This is a Debian specific file

dc_eximconfig_configtype='smarthost'
dc_other_hostnames='capitanata.oa-cagliari.inaf.it capitanata.ca.astro.it 
localhost'

dc_local_interfaces='127.0.0.1'
dc_readhost='capitanata.oa-cagliari.inaf.it'
dc_relay_domains=''
dc_minimaldns='true'
dc_relay_nets=''
dc_smarthost='mailserver.oa-cagliari.inaf.it'
CFILEMODE='644'
dc_use_split_config='true'
dc_hide_mailname='false'
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'
mailname:capitanata.oa-cagliari.inaf.it

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (401, 'unstable'), (10, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.0.5-jak (SMP w/4 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8) (ignored: 
LC_ALL set to it_IT.utf8)

Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages exim4 depends on:
ii  debconf [debconf-2.0]  1.5.56
ii  exim4-base 4.86~RC4-1
ii  exim4-daemon-heavy 4.86~RC4-1

exim4 recommends no packages.

exim4 suggests no packages.

-- debconf information:
  exim4/drec:

--
_

Giacomo Mulas gmu...@ca.astro.it
_

OSSERVATORIO ASTRONOMICO DI CAGLIARI
Str. 54, Loc. Poggio dei Pini * 09012 Capoterra (CA)

Tel. (OAC): +39 070 71180 248 Fax : +39 070 71180 222
Tel. (UNICA): +39 070 675 4916
_

When the storms are raging around you, stay right where you are
 (Freddy Mercury)
_


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



Bug#790616: exim4: exim crashes when sending email to more then one recipient

2015-06-30 Thread Giacomo Mulas

On Tue, 30 Jun 2015, Marc Haber wrote:


On Tue, Jun 30, 2015 at 01:48:23PM +0200, Giacomo Mulas wrote:

Since 2 updates in sid, exim4 crashes (and fails to deliver) whenever
attempting to send an email to more than one recipient. It does not matter
whether the recipients are all in the To: field, or in CC:, BCC:, in any
case if there is more than one recipient exim crashes with the following
message on the log:

message ID local_scan() function crashed with signal 11 - message temporarily 
rejected (size actual size)


Hi Marc.

I just checked, I did not manually set local_scan to anything, I found out
that it was set by the package sa-exim, which dropped the
15_sa-exim_plugin_path file in /etc/exim4/conf.d/main/ and the sa-exim.conf
file in /etc/exim4. I just checked that removing sa-exim fixes my problem,
and reinstalling it reintroduces it. So I guess this bug should be moved
from exim4 to sa-exim, even if fixing it will probably still require some
help from the exim4 maintainer(s).

The sa-exim package though appears to have not been upgraded for a long
time, so something else broke it.  Maybe some exim interface changed and
sa-exim needs to be recompiled against it?  Or some other recent
configuration change?



What are you using as local_scan mechanism? afaik, it is not used in
the default config.

Greetings
Marc




--
_

Giacomo Mulas gmu...@oa-cagliari.inaf.it
_

INAF - Osservatorio Astronomico di Cagliari
via della scienza 5 - 09047 Selargius (CA)

tel.   +39 070 71180244
mob. : +39 329  6603810
_

When the storms are raging around you, stay right where you are
 (Freddy Mercury)
_


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



Bug#790616: exim4: exim crashes when sending email to more then one recipient

2015-06-30 Thread Giacomo Mulas

I can confirm that just recompiling the current sa-exim package from source
fixes the problem I reported: I just did

apt-get source sa-exim
cd sa-exim-4.2.1
fakeroot debian/rules clean build binary
sudo dpkg -i ../sa-exim_4.2.1-14_amd64.deb

and I recovered full sa-exim functionality without the crashes. I guess you
can forward this to the sa-exim maintainer or even just get it recompiled
via a binary only nonmaintainer upload, notifying the maintainer.

Thanks, sorry for the inconvenience, bye
Giacomo

--
_

Giacomo Mulas gmu...@oa-cagliari.inaf.it
_

INAF - Osservatorio Astronomico di Cagliari
via della scienza 5 - 09047 Selargius (CA)

tel.   +39 070 71180244
mob. : +39 329  6603810
_

When the storms are raging around you, stay right where you are
 (Freddy Mercury)
_


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



Bug#790616: exim4: exim crashes when sending email to more then one recipient

2015-06-30 Thread Andreas Metzler
On 2015-06-30 Giacomo Mulas gmu...@oa-cagliari.inaf.it wrote:
 Package: exim4
 Version: 4.86~RC4-1
 Severity: important

 Dear Maintainer,

 Since 2 updates in sid, exim4 crashes (and fails to deliver) whenever
 attempting to send an email to more than one recipient.
[...]

Hello Giacomo,

are you able to limit this further, did it break with 4.86~RC3-2 or
earlier (4.85-3)? (/var/log/apt/history.log or /var/log/dpkg.log might
help)

thanks, cu Andreas

-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'


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