Differences
This shows you the differences between two versions of the page.
spamassassin:fuzzyocr [2006/12/27 11:56] a have fun! |
spamassassin:fuzzyocr [2009/05/25 00:35] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Spamassassin + FuzzyOCR (not really a debian way) ====== | ||
- | |||
- | **What do we need:** | ||
- | * Debian Sarge | ||
- | * Spamassassin (CPAN up-to-date) | ||
- | * FuzzyOCR | ||
- | * luck :) | ||
- | |||
- | ===== Getting started ===== | ||
- | |||
- | upgrade your '' | ||
- | |||
- | perl -MCPAN -e shell | ||
- | | ||
- | |||
- | //keep your finger crossed// | ||
- | |||
- | get some graphic manipulation packages from debian-sarge-backports | ||
- | |||
- | # apt-get install -t sarge-backports install gocr libungif-bin \ | ||
- | | ||
- | |||
- | ===== The Fuzzy magic ===== | ||
- | |||
- | # cd /usr/src/ | ||
- | # wget http:// | ||
- | # tar xzvf fuzzyocr-2.3b.tar.gz | ||
- | # wget http:// | ||
- | # cd FuzzyOcr-2.3b | ||
- | # patch FuzzyOcr.pm < ../ | ||
- | # cp FuzzyOcr.pm / | ||
- | # cp FuzzyOcr.cf / | ||
- | # cp FuzzyOcr.words.sample / | ||
- | |||
- | ===== Configuration ===== | ||
- | |||
- | # echo " | ||
- | >> | ||
- | # sed -i " | ||
- | / | ||
- | # sed -i " | ||
- | | ||
- | **For SpamAssassin less than 3.1.4:** | ||
- | |||
- | # sed -i " | ||
- | |||
- | ===== Finger still crossed ===== | ||
- | |||
- | Verify Spamassassin config: | ||
- | |||
- | # spamassassin --lint | ||
- | |||
- | |||
- | See also: [[http:// | ||
- | |||
- | |||
- | |||
- | |||
- | |||