PDFassassin v0.3 - Beta
Developed by @Mail - http://atmail.com/
Licensed under the Apache License 2.0
Before installing Pdf.pm, you will need the following:
- pdftotext ( from the Xpdf package at: www.foolabs.com/xpdf/download.html ) - Can be pre-installed under your Linux distro
- gocr ( available via: http://jocr.sourceforge.net )
To install, just copy the Pdf.pm and pdf.cf files to your SpamAssassin configuration directory. It is /usr/local/atmail/spamassassin/etc/ in @Mail installations, and /etc/mail/spamassassin in other default Linux installs.
You will need to lint the SpamAssassin configuration files afterwards:
$ /usr/local/atmail/spamassassin/bin/spamassassin -D --lint
Should the installation be successful, you should see the following:
dbg: plugin: fixed relative path: /usr/local/atmail/spamassassin/etc//Pdf.pm
dbg: plugin: loading Pdf from /usr/local/atmail/spamassassin/etc/Pdf.pm
This will then allow you to scan PDF attachments via SpamAssassin.
Should you need to change the scoring of the PDF spam emails, you can do it by editing the pdf.cf file. You can then edit the score definition:
score PDF 10.0
Should you have any queries, please feel free to contact: email@example.com