PDFassassin Code
Status: Beta
Brought to you by:
calacode_us
File | Date | Author | Commit |
---|---|---|---|
Pdf.pm | 2007-08-09 | calacode_us | [r3] comments corrections |
README | 2007-08-09 | calacode_us | [r3] comments corrections |
pdf.cf | 2007-08-08 | root | [r1] initial import |
PDFassassin v0.3 - Beta Developed by @Mail - http://atmail.com/ Licensed under the Apache License 2.0 Instructions: 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: john@calacode.com