I have a question about Mailman 2.1.9 archives and HTML attachments.
I have a list where the poster has sent mail that contains

     This is a multi-part message in MIME format.

     --===============7294073253759616889==
     Content-class: urn:content-classes:message
     Content-Type: multipart/related;
             boundary="----_=_NextPart_001_01C7DE7E.868176F5";
             type="multipart/alternative"

     This is a multi-part message in MIME format.

     ------_=_NextPart_001_01C7DE7E.868176F5
     Content-Type: multipart/alternative;
             boundary="----_=_NextPart_002_01C7DE7E.868176F5"


     ------_=_NextPart_002_01C7DE7E.868176F5
     Content-Type: text/plain;
             charset="iso-8859-1"
     Content-Transfer-Encoding: quoted-printable
          {The text of the mail in q-p format}
     ------_=_NextPart_002_01C7DE7E.868176F5
     Content-Type: text/html;
             charset="iso-8859-1"
     Content-Transfer-Encoding: quoted-printable
          {HTML-format of the text}
     ------_=_NextPart_002_01C7DE7E.868176F5--

     ------_=_NextPart_001_01C7DE7E.868176F5
     Content-Type: image/gif;
             name="att6e63a.gif"
     Content-Transfer-Encoding: base64
     Content-ID: <[EMAIL PROTECTED]>
     Content-Description: att6e63a.gif
     Content-Location: att6e63a.gif
          {a small gif image}
     ------_=_NextPart_001_01C7DE7E.868176F5
     Content-Type: image/jpeg;
             name="ray.jpg"
     Content-Transfer-Encoding: base64
     Content-Description: ray.jpg
     Content-Location: http:/....
          {a jpg image}
     --===============7294073253759616889==
     Content-Type: text/plain; charset="us-ascii"
     MIME-Version: 1.0
     Content-Transfer-Encoding: 7bit
     Content-Disposition: inline
          {the list footer from Mailman}>
     --===============7294073253759616889==--

When I look at the mail in the list archives, my Firefox browser in
Unix shows

     The plain text of the message, converted from q-p format to basic
     ASCII text.
     ------------- next part --------------
     An HTML attachment was scrubbed...
     URL: https:.../attachment.htm
     -------------- next part --------------
     A non-text attachment was scrubbed...
     Name: not available
     Type: image/gif
     Size: 1857 bytes
     Desc: att6e63a.gif
     Url : https://.../attachment.gif 
     -------------- next part --------------
     A non-text attachment was scrubbed...
     Name: not available
     Type: image/jpeg
     Size: 14513 bytes
     Desc: ray.jpg
     Url : https://.../attachment.jpeg 

When I click on the .gif or .jpeg hyperlinks, I see the images.
But when I click on the .htm hyperlink, I see the HTML text.
If I take that HTML text, save it to /tmp, and then open that file
with Firefox, I see the mail message properly formatted.

I have looked at the ARCHIVE_HTML_SANITIZER variable in Defaults.py,
and I am not clear what value to set so that the .htm hyperlink
will display the formatted HTML source instead of the raw HTML source.
Is this the parameter that I need to change?

I do not do much with HTML-formatted attachments, as I (like others
on this list) believe that they do not belong in e-mail.
----------------------------------------------------------------------
Barry S. Finkel
Computing and Information Systems Division
Argonne National Laboratory          Phone:    +1 (630) 252-7277
9700 South Cass Avenue               Facsimile:+1 (630) 252-4601
Building 222, Room D209              Internet: [EMAIL PROTECTED]
Argonne, IL   60439-4828             IBMMAIL:  I1004994

------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq01.027.htp

Reply via email to