[Mailman-Users] FW: Mailman Scrubbing archived attachments

katie1 at mardiweb.com katie1 at mardiweb.com
Fri Oct 13 17:33:44 CEST 2006

Ok, I think I get it.  But, here's what we get at the bottom of the e-mail:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 04_540pins.pdf
Type: application/pdf
Size: 69000 bytes
Desc: not available
Url :

The URL is not a URL that works.  It does not come up as a clickable URL and
if you paste it into a browser and it goes nowhere.  Could this have
something to do with how my hosting service has Mailman set up?


-----Original Message-----
From: Mark Sapiro [mailto:msapiro at value.net]
Sent: Thursday, October 12, 2006 3:30 PM
To: Kate Henry; mailman-users at python.org
Subject: Re: [Mailman-Users] Mailman Scrubbing archived attachments

Kate Henry wrote:

>All I want to do is to set up Mailman so that it sends an attachment 
>with the e-mail (that works) and then saves the attachment in the 
>archived version of the e-mail (doesn't work - get message that the 
>attachment was "scrubbed").  I can't seem to figure out how to do it.
>I have nothing set in "content filtering" assuming that would mean that
nothing is filtered.

That is correct. Even better, set filter_content to No if that's what you
want and no content filtering will be done at all regardless of the other

In any case, if the attachment is sent in list mail, content filtering
didn't remove it and has no further effect on the archive.

>If that is not how to make it so that I can save a copy of the 
>attachment in the archive, what do I need to do?

I'm not sure where the above message fits in this partially off list thread,
but here's a summary of what's happening.

Based on your off list message (copied in my reply at
the attachment is archived and its location in the archive is included in
the archived message. See my reply for more.

If you are expecting to see the PDF attachment 'inline' in the archive,
pipermail doesn't attempt to do that, and in fact, it can't be done at all
in a browser independent way. In another recent thread
I wrote

Pipermail does not have the ability to archive Multipart messages at all,
not to mention the ability to convert a PDF attachment to HTML so it could
be viewed inline in the archive.

Thus, all messages must be 'scrubbed' before archiving. Scrubbing consists
of saving all non-plain text attachments and plain text parts with
incompatible character sets separately in the 'attachments'
directory and replacing them with hyperlinks in the original message and
flattening the original into a single plain text message for the archive.

Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

More information about the Mailman-Users mailing list