[Pkg-sympa-devel] Bug#815138: sympa-archiver loops with encrypted messages

Stefan Bühler stbuehler at web.de
Fri Feb 19 09:51:48 UTC 2016


Package: sympa
Version: 6.1.23~dfsg-2

Hi,

when trying to archive an encrypted messages, sympa will try to "clean"
the message, but as it doesn't lookup the list context in Message->new
(due to $noxsympato = 1) it doesn't pass the list to
tools::smime_decrypt - which then tries to use the keys for a global
list "sympa" (without vhost).

As the archiver keeps trying to handle failed messages, it will try
forever to handle the message.

There are two options here imho: either Message->new needs to lookup
the list context (or take it as parameter instead of $noxsympato) and
decrypts mails for the archive, or Message->new must not try to
decrypt mails for the archive.

See patch for the latter option.

Regards,
Stefan

syslog snippet:
---
notice Archiving listname at example.com.someid for list listname at example.com
err tools::smime_find_keys() unable to opendir /var/lib/sympa/list_data/sympa: No such file or directory
err tools::smime_decrypt() Unable to decrypt message : missing certificate file
err Archive::clean_archived_message() Unable to create a Message object with file /var/lib/sympa/wwsarchive/listname at example.com/2016-02/arctxt/1
err main::mail2arc() Could not clean message, ignoring message
---
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Message.pm.patch
Type: text/x-patch
Size: 342 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-sympa-devel/attachments/20160219/c72d615d/attachment.bin>


More information about the Pkg-sympa-devel mailing list