Nov 4 11:08:19.217  warn: plugin: eval failed: Insecure dependency in open while running with -T switch at /etc/mail/spamassassin/FuzzyOcr/Logging.pm line 17. ... save_execute: Insecure dependency in exec while running with -T switch at /etc/mail/spamassassin/FuzzyOcr/Misc.pm line 173. ... Error: save_execute: Insecure dependency in exec while running with -T switch at /etc/mail/spamassassin/FuzzyOcr/Misc.pm line 174.
This is caused by perl security restrictions in tainting mode, you can apply this patch to fix this problem.
save it as fuzzyocr_taint.patch, then:
cd /etc/spamassassin/FuzzyOcr/ patch -p1 /path/to/fuzzyocr_taint.patch
Also note that on Ubuntu system, some binary like pamthreshold, pamditherbw is missing from the netpbm package(that’s because the netpbm package there is very old, no such binaries). as a result, you’d better install the netpbm package yourself.
1) install prerequisite package(assuming that you already have a basic build toolset):
apt-get install libjpeg62-dev libtiff4-dev libpng12-dev flex bison
2) download the latest super stable netpbm from:
unpack, cd to it. run:
answer the question(just press enter except the following):
* What is your X11 (X client) library?: input “none”
* What is your Svgalib library? input “none”
, if no error, run
if all ok, run:
to install it.after that, run:
echo '/usr/local/netpbm/lib' > /etc/ld.so.conf.d/netpbm.conf && ldconfig