Installed FuzzyOCR on my os/x box per http://fuzzyocr.own-hero.net/wiki/Installation-3.x .

Based on my reading of it, I don't need to do anything other than put the FuzzyOcr.cf file in my spamassassin directory (which on my install is /private/etc/opt/mail/spamassassin/ ) .

So I have FuzzyOcr.cf, FuzzyOcr.pm (chmod +x'd) .

The relevent (AFAICT) parts of .cf are:

loadplugin FuzzyOcr FuzzyOcr.pm
body FUZZY_OCR eval:fuzzyocr_check()
describe FUZZY_OCR Mail contains an image with common spam text inside
body FUZZY_OCR_WRONG_CTYPE eval:dummy_check()
describe FUZZY_OCR_WRONG_CTYPE Mail contains an image with wrong content-type set
body FUZZY_OCR_CORRUPT_IMG eval:dummy_check()
describe FUZZY_OCR_CORRUPT_IMG Mail contains a corrupted image
body FUZZY_OCR_KNOWN_HASH eval:dummy_check()
describe FUZZY_OCR_KNOWN_HASH Mail contains an image with known hash

focr_personal_wordlist ./spamassassin/FuzzyOcr.words
(.words is in the same directory).

I then ran
spamassassin < animated-gif.eml > out

out shows no FuzzyOCR hits.

Am I missing something obvious?

If I'm not providing enough details, please let me know.

Thanks.

Evan

Reply via email to