After seeing a increase in image spam, I decided to add the Fuzzy OCR plugin for spamassassin. Basically, it will read the image and see if there are any words or phrases that are labeled as spam and append a score to it. I was surprised that I didn't see any how tos for Gentoo, and I ran across multiple issues setting this up, so here we go.
We need to use spamassassin-fuzzyocr-3.5.1-r1 to get things working. Currently, Gentoo has 2.3b as the stable version, make sure you use the latest greatest. I added the following to /etc/portage/package.keywords:
=mail-filter/spamassassin-fuzzyocr-3.5.1-r1 ~x86
dev-perl/MLDBM-Sync ~x86
I added the following USE flags to /etc/portage/package.use
media-libs/netpbm jpeg jpeg2k png tiff xml zlib -jbig -rle -svga
mail-filter/spamassassin-fuzzyocr amavis dbm gocr logrotate mysql ocrad tesseract
app-text/tesseract tiff
Recent comments
7 weeks 5 days ago
7 weeks 5 days ago
8 weeks 3 days ago
11 weeks 6 days ago
11 weeks 6 days ago
28 weeks 3 days ago
36 weeks 22 hours ago
43 weeks 3 days ago
47 weeks 3 days ago
1 year 2 weeks ago