Implement OLE Filter on Debian 8 / Postfix (Mraptor Milter)

Published on Author righterLeave a comment

To avoid this stupid OLE Viruses in Office documents, there is a OLE scanner which you can implement in your postfix

First you need some apts:

apt-get install python-milter python-daemonize

Then you need to install the OLE tools:

pip install -U
chomd +x /usr/local/lib/python2.7/dist-packages/oletools/

Paste this in /etc/crontab for autostart at reboot (or do a better systemd init script whatever..)

# Autostart
@reboot root /usr/local/lib/python2.7/dist-packages/oletools/

This will not block the mails but will filter out the virus infected documents

Leave a Reply

Your email address will not be published. Required fields are marked *