Skip to Content.
Sympa Menu

en - [sympa-users] Filtering of HTML messages for Sympa Archives - Why ??

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: <address@concealed>
  • To: address@concealed
  • Subject: [sympa-users] Filtering of HTML messages for Sympa Archives - Why ??
  • Date: Mon, 27 May 2013 01:31:35 +0200

We have recently upgraded from Sympa 5 to 6, and have since noticed that
archived.pl now "cleans" HTML messages (via a subroutine
clean_archived_message()).

In emails going out to a wide audience, we have used linked images to avoid
bloating users Exchange mailboxes (i.e. not use embedded images). In Sympa 6,
we have found that the HTML cleaning breaks with this approach, so if someone
visits the archives afterwards, the images are stripped.

Here is a minimal example. If we send an HTML email to a Sympa 6 mailing list
consisting of:

<html>
<head><meta http-equiv="content-type" content="text/html; charset=ISO-8859-
1"></head>
<body>linked image test<img src="https://path/to/my/image/on/server";></body>
</html>

then the image presents fine in subscribers inboxes, but the image is not
present in the list archives. On the archive page (i.e.
https://sympaserver/arc/listname/2013-05/msg00010.html) instead the following
HTML is embedded in the archive page (which doesn't contain an img tag at
all!):

<table width="100%"><tbody><tr><td bgcolor="#FFFFFF" style="background-color:
#FFFFFF; color: #000000; "><font color="#000000">
linked image test<br>
<br>
<br>
</font></td></tr></tbody></table>

Shouldn't the archives be a complete duplicate of what is actually being
delivered to users Inboxes ?

I don't like the filtering, but can I ask - If you are going to filter
messages - why not do so in the mailer too ? I don't think it's a good idea
to do something different in the Bulk mailer vs the Archives.

I am interested in what the rationale was for this design change.

Regards,

Patrick Rynhart



Archive powered by MHonArc 2.6.19+.

Top of Page