
In our lab, everyone continuously sends PDFs of several megabytes. Mailman archives these nicely, referencing scrubbed attachments from the archived message:
A non-text attachment was scrubbed... Name: programm_ssf04.pdf Type: application/pdf Size: 3477360 bytes Desc: not available Url : ...
However, the attachment is still delivered to all 80+ subscribers.
I wonder if it's possible to replace the attachment in the email with a link to the file saved under /attachments/... of the list archives? Or is this not possible because the archives are actually generated separately by pipermail?
-- martin; (greetings from the heart of the sun.) \____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck
invalid/expired pgp subkeys? use subkeys.pgp.net as keyserver! spamtraps: madduck.bogus@madduck.net
"time flies like an arrow. fruit flies like a banana." -- groucho marx

At 8:53 AM +0200 2004-09-30, martin f krafft wrote:
However, the attachment is still delivered to all 80+ subscribers.
I wonder if it's possible to replace the attachment in the email with a link to the file saved under /attachments/... of the list archives? Or is this not possible because the archives are actually generated separately by pipermail?
The archiving step is separate from the mailing list processing,
and that is where the attachment stripping is performed. It's difficult to solve this in a general way, since internal hostnames might be totally different from external hostnames, and you're crossing protocol boundaries (SMTP to HTTP).
With the list archive, you're staying within protocol boundaries
(anyone who can see the archive should be able to likewise see the attachments through the same mechanism).
I'm not aware of any patches to produce the kind of behaviour
you're looking for, but you can search the list on the Mailman page at SourceForge.
Failing that, you're welcome to contribute patches to achieve
this functionality.
-- Brad Knowles, <brad@stop.mail-abuse.org>
"Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety."
-- Benjamin Franklin (1706-1790), reply of the Pennsylvania
Assembly to the Governor, November 11, 1755
SAGE member since 1995. See <http://www.sage.org/> for more info.

On 9/30/2004 9:21 AM Brad Knowles wrote:
At 8:53 AM +0200 2004-09-30, martin f krafft wrote:
However, the attachment is still delivered to all 80+ subscribers.
I wonder if it's possible to replace the attachment in the email with a link to the file saved under /attachments/... of the list archives? Or is this not possible because the archives are actually generated separately by pipermail?
The archiving step is separate from the mailing list processing,
and that is where the attachment stripping is performed. It's difficult to solve this in a general way, since internal hostnames might be totally different from external hostnames, and you're crossing protocol boundaries (SMTP to HTTP).
With the list archive, you're staying within protocol boundaries
(anyone who can see the archive should be able to likewise see the attachments through the same mechanism).
I'm not aware of any patches to produce the kind of behaviour
you're looking for, but you can search the list on the Mailman page at SourceForge.
There is a patch, but I don't have any reference handy right now. I think if you (the OP) look for "Scrubber.py" in the patches, you should find something. I believe the patch was for an earlier version, but I applied it to 2.1.5 and it is working for me.

At 2:58 PM -0400 2004-09-30, John Swartzentruber wrote:
There is a patch, but I don't have any reference handy right now. I think if you (the OP) look for "Scrubber.py" in the patches, you should find something. I believe the patch was for an earlier version, but I applied it to 2.1.5 and it is working for me.
You are correct. See
<http://sourceforge.net/tracker/index.php?func=detail&aid=904850&group_id=103&atid=300103>.
-- Brad Knowles, <brad@stop.mail-abuse.org>
"Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety."
-- Benjamin Franklin (1706-1790), reply of the Pennsylvania
Assembly to the Governor, November 11, 1755
SAGE member since 1995. See <http://www.sage.org/> for more info.
participants (3)
-
Brad Knowles
-
John Swartzentruber
-
martin f krafft