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
12 weeks 4 days ago
12 weeks 4 days ago
13 weeks 2 days ago
16 weeks 5 days ago
16 weeks 5 days ago
33 weeks 2 days ago
41 weeks 38 min ago
48 weeks 2 days ago
1 year 1 day ago
1 year 7 weeks ago