Skip to Content.
Sympa Menu

en - [sympa-users] encrypted mailing list feature broken in 6.1.7 - patch proposal

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Menkens Olaf <address@concealed>
  • To: "address@concealed" <address@concealed>
  • Subject: [sympa-users] encrypted mailing list feature broken in 6.1.7 - patch proposal
  • Date: Fri, 16 Dec 2011 13:30:23 +0000

Hi everyone,

since a long time sympa offers the feature to send encrypted mails to
mailing lists and decrypt / reencrypt them for each recipient.
We realized, that this feature is broken in the current official release
6.1.7.

As far as I understand the code, it might have happened, when some bulk
mailing feature had been added / improved. In the function
mail_message() (in mail.pm) the rcpt parameter is now constructed as a
reference to a list containing references to lists of email addresses.
But in the function sendto() this new structure is disregarded, when it
comes to sending encrypted mails to each unique recipient.

Two other problems I encountered during my tests: When the rcpt list in
mail_message() is empty (in my case when sending with "verp" enabled),
an error message is produced and error mails are sent to the sender and
the listmaster. This could be solved by a simple check, whether there
are any recipients.

The last less important, but annoying problem I found, is about error
logging: in main::DoFile() (sympa.pl, lines 1359ff) the log_level is
obviously set to a list specific log_level, which is undocumented and I
could not find it in List.pm. Effectively it switches off debug logging.
Thus I commented out these few lines.

It would be great, if some sympa expert could review my patch proposals
and integrate them into the next sympa release.

Thank you,

Olaf Menkens, Fraunhofer IAIS.


Attachment: patch-sympa.pl
Description: patch-sympa.pl

Attachment: patch-mail.pm
Description: patch-mail.pm




Archive powered by MHonArc 2.6.19+.

Top of Page