OT: need help installing FuzzyOCR

Julian Field MailScanner at ecs.soton.ac.uk
Wed Oct 18 19:14:39 IST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Please can you add it to the SpamAssassin section of the MailScanner wiki!

It is important to keep and share stuff like this.

Arthur Sherman wrote:
> Figured it out by myself...
>
> But anyway, thanks for this great howto!
> I will save it for further reference.
>
>
>
> Best,
>
> --
> Arthur Sherman
>
> +972-52-4878851
> CPTeam  
>
>   
>> -----Original Message-----
>> From: mailscanner-bounces at lists.mailscanner.info 
>> [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf 
>> Of Dhawal Doshy
>> Sent: Wednesday, October 18, 2006 6:23 PM
>> To: MailScanner discussion
>> Subject: Re: OT: need help installing FuzzyOCR
>>
>> Arthur Sherman wrote:
>>     
>>> Hi,
>>>
>>> I am trying to install the FuzzyOCR plugin to work with 
>>>       
>> SpamAssassin on
>>     
>>> CentOS-4.4.
>>>
>>> It asks for ImageMagick installation, so I yummed for it 
>>>       
>> and found a great
>>     
>>> deal of packages. I hesitate between ImageMagick.i386 and
>>> ImageMagick-perl.i386, while latter seems to be more appropriate.
>>>
>>> Is it right?
>>> May someone share some other tips for 
>>>       
>> installing/configuring the plugin?
>>
>> I have it installed on 3 servers and do not remember the 
>> requirement for 
>> imagemagick!!
>>
>> Anyways, here is a snippet from my doc (for centos 4.x).
>>
>> yum install netpbm netpbm-devel netpbm-progs gtk+-devel libungif 
>> libungif-devel libungif-progs
>> perl -MCPAN -eshell
>> 	install String::Approx
>> mkdir /root/FuzzyOcrPlugin
>> cd /root/FuzzyOcrPlugin
>> wget http://jaist.dl.sourceforge.net/sourceforge/jocr/gocr-0.41.tar.gz
>> wget http://www-e.uni-magdeburg.de/jschulen/ocr/gocr-0.41-pgm.patch
>> tar xzf gocr-0.41.tar.gz
>> cd gocr-0.41
>> patch -p0 < ../gocr-0.41-pgm.patch
>> perl -e "s/^%configure --with-netpbm=no/%configure/g;" -pi gocr.spec
>> cd ..
>> tar czf gocr-0.41.custom.tar.gz gocr-0.41
>> rm -fr gocr-0.41
>> rpmbuild -ta gocr-0.41.custom.tar.gz
>> cd /usr/src/redhat/RPMS/i386/
>> rpm -ivh gocr-0.41-1.i386.rpm gocr-devel-0.41-1.i386.rpm
>> cd -
>> wget 
>> http://users.own-hero.net/~decoder/fuzzyocr/fuzzyocr-latest.tar.gz
>> tar xzf fuzzyocr-latest.tar.gz
>> cd Fuzzy*
>> mv FuzzyOcr.cf FuzzyOcr.pm /etc/mail/spamassassin
>> mv FuzzyOcr.words.sample /etc/mail/spamassassin/FuzzyOcr.words
>>
>> Change FuzzyOcr.cf as required.. and test using 'sa --lint'
>>
>> - dhawal
>> -- 
>> MailScanner mailing list
>> mailscanner at lists.mailscanner.info
>> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>>
>> Before posting, read http://wiki.mailscanner.info/posting
>>
>> Support MailScanner development - buy the book off the website! 
>>     
>
>   

Jules

- -- 
Julian Field MEng CITP
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
For all your IT requirements visit www.transtec.co.uk



-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.5.0 (Build 1112)
Comment: Fetch my public key foot-print from www.mailscanner.info
Charset: ISO-8859-1

wj8DBQFFNm8zEfZZRxQVtlQRAqYaAKCzdcpetq5y63m9zXAiTNzDFgVrVQCgxoHJ
c7Ursc0CC03bIGbBnynTQLk=
=SxUJ
-----END PGP SIGNATURE-----

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
For all your IT requirements visit www.transtec.co.uk



More information about the MailScanner mailing list