#2859 Add clamav filter for mailman
Closed: Fixed None Opened 12 years ago by kevin.

We should setup a filter so mailman can scan incoming emails via clamav and mark for moderation posts that flag as being viruses.

This would allow us to not have to run scans of archives for viruses and would prevent our list users from having to filter them out at their mail server.


Attached a modified version of mailman-clamv that uses clamscan directly and does not discard messages, seems fine ie: mailman config not broken but more testing is NEEDED (using EICAR Standard Anti-Virus Test File)

Used: EL 5.6 / mailman-2.1.9-6.el5_6.1

Installation:

{{{
curl -O athmane.fedorapeople.org/ClamScan.py
cp ClamScan.py /usr/lib/mailman/Mailman/Handlers/
echo GLOBAL_PIPELINE.insert(1, \'ClamScan\') >> /etc/mailman/mm_cfg.py
service mailman restart
}}}

Modified version of mailman-clamv
ClamScan.py

The ClamScan.py should work well.

Closed - won't fix - Mailman has been transitioned to Hyperkitty. Please open a new ticket if needed. Thanks.

Login to comment on this ticket.

Metadata