[Mailman-Users] detecting certain file types in attachments

Brad Knowles brad.knowles at skynet.be
Wed Jun 2 00:50:42 CEST 2004


At 6:09 PM -0400 2004/06/01, Andy Rowan wrote:

>  So what I want to be able to do is filter based on the
>  content-disposition field.  This is trivially easy to do in procmail,
>  but in the normal mailman sequence, messages never see procmail.  So,
>  can I (a) recreate this capability in mailman, or (b) cause mailman to
>  invoke procmail somehow?  The content filtering option on the web
>  interface seems to look at content-type, not content-disposition.

	See 
<http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.015.htp> 
for one option.

-- 
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.

   SAGE member since 1995.  See <http://www.sage.org/> for more info.




More information about the Mailman-Users mailing list