[Mailman-Users] Stripping attachments

Atkins, Brian BAtkins at osc.uscg.mil
Tue Aug 26 19:20:10 CEST 2003


Thanks, Brad.  I guess I'll have to upgrade to 2.1 to get that feature.

Brian

-----Original Message-----
From: Brad Knowles [mailto:brad.knowles at skynet.be]
Sent: Tuesday, August 26, 2003 11:04 AM
To: Atkins, Brian
Cc: 'mailman-users at python.org'
Subject: Re: [Mailman-Users] Stripping attachments


At 8:23 AM -0400 2003/08/26, Atkins, Brian wrote:

>  Oops... forgot to ask with my last post: Is there a way to strip out all
>  attachments?

	See the archives.  This is actually a more difficult problem than 
you imagine, for a variety of technical reasons.

	The short answer is that if you go into "Content Filtering", and 
click on the button "Should Mailman filter the content of list 
traffic according              to the settings below?" and set it to 
"Yes" and you don't change anything else, then mailman should go 
ahead and strip most things you're likely to see (by default, it will 
only pass messages that are plain text, or MIME bodypart types 
multipart/mixed, multipart/alternative, or text/plain), and it will 
strip text/html to plain text.


	See also the FAQ entries at 
<http://www.python.org/cgi-bin/faqw-mm.py?query=attachment&querytype=simple&
casefold=yes&req=search>.

-- 
Brad Knowles, <brad.knowles at skynet.be>

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
     -Benjamin Franklin, Historical Review of Pennsylvania.

GCS/IT d+(-) s:+(++)>: a C++(+++)$ UMBSHI++++$ P+>++ L+ !E-(---) W+++(--) N+
!w--- O- M++ V PS++(+++) PE- Y+(++) PGP>+++ t+(+++) 5++(+++) X++(+++)
R+(+++)
tv+(+++) b+(++++) DI+(++++) D+(++) G+(++++) e++>++++ h--- r---(+++)* z(+++)




More information about the Mailman-Users mailing list