[Pkg-sympa-devel] Bug#815148: sympa fails to send encrypted messages: Unable to send message to list

Stefan Bühler stbuehler at web.de
Fri Feb 19 11:28:29 UTC 2016


Package: sympa
Version: 6.1.23~dfsg-2

Hi,

sympa fails to send encrypted messages due to a bug in mail.pm:609; you
should not dereference array-references in $#{...}, it takes the
reference directly (according to my tests. I couldn't find official
documentation on it, just an example in
http://perldoc.perl.org/perlref.html#Postfix-Dereference-Syntax)

The error is hidden by the eval in sympa.pl.in:2016; the logging in
line 2022 should probably log $@ as well.

When logging $@ as well I get:

err main::DoMessage() sympa::DoMessage(): Unable to send message to list mylist: Can't use string ("1") as an ARRAY ref while "strict refs" in use at /usr/share/sympa/lib/mail.pm line 609.

Regards,
Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mail.pm.fix-array-ref.patch
Type: text/x-patch
Size: 659 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-sympa-devel/attachments/20160219/61ac55f0/attachment.bin>


More information about the Pkg-sympa-devel mailing list