[ mailman-Patches-1026977 ] check attachment header by SpamDetect.py

SourceForge.net noreply at sourceforge.net
Mon Sep 13 04:01:25 CEST 2004


Patches item #1026977, was opened at 2004-09-13 02:01
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=1026977&group_id=103

Category: list administration
Group: Mailman 2.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Tokio Kikuchi (tkikuchi)
Assigned to: Nobody/Anonymous (nobody)
Summary: check attachment header by SpamDetect.py

Initial Comment:
SpamDetect.py and Privacy -> Spam interface can check
incoming message haeder by regular expressions and
discard/reject/hold the message. It can prevent viruses
by blocking multipart messages but many users are now
want to pass multipart. This patch extents the check
into the attachment header so that viruses which have
.exe/.pif file can be prevented by the same interface.
Note that cheking is limited to the second level of
multiparts because collecting all the header will cause
infinite loop because owner notification message is
also checked by this module.

Usage: after applying this patch and restart mailman,
go to the privacy/spam admin page and insert a rule

content-.*name.*\.(exe|pif|com|vbs)

to be discarded.

Cheers,



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=1026977&group_id=103


More information about the Mailman-coders mailing list