check attachment header by SpamDetect.py
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Mailman |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
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-
to be discarded.
Cheers,
The file SpamDetect.py.patch was added: SpamDetect.py.patch