Spamassassin fuzzyocr plugin

FuzzyOcr is a plugin for SpamAssassin which is aimed at unsolicited bulk mail (also known as "Spam") containing images as the main content carrier. Using different methods, it analyzes the content and properties of images to distinguish between normal mails (Ham) and spam mails. It is fairly straight forward to get it to work in Gentoo.

Installation
First make sure you enable at least one optical recognition engine and dbm, otherwise FuzzyOcr will complain. In practice, it is better to enable two optical recongition engines, as this avoids warning at startup.

At the moment of writing, latest and greates version of FuzzyOcr is keyworded:

Check that you like all the stuff that is going to be merged (pay attention to use flags of libraries):

If necessary adjust use flags. For example:

Emerge it:

Tweak config file (default settings are very good):

Test if it works:

After all the debug output, you should see something like this:

If this is the case, restart spamd, and it will make use of new plugin automatically:

Troubleshooting
If there is a problem, first check you system log for errors. Than you might want to enable debug logging for FuzzyOcr:

Don't forget to create and make writable this file:

This should give you abundance of information.