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

SourceForge.net noreply at sourceforge.net
Sat Oct 9 06:59:24 CEST 2004


Patches item #1026977, was opened at 2004-09-13 02:01
Message generated for change (Comment added) made by tkikuchi
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: Closed
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,



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

>Comment By: Tokio Kikuchi (tkikuchi)
Date: 2004-10-09 04:59

Message:
Logged In: YES 
user_id=67709

Merged in CVS, closing.
Checking in Gui/Privacy.py;
new revision: 2.15.2.5; previous revision: 2.15.2.4
Checking in Handlers/SpamDetect.py;
new revision: 2.3.2.2; previous revision: 2.3.2.1


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

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