This is a discussion on Re: [AMaViS-user] what needs reloading to fix IO::File ? within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; On Sat, March 15, 2008 11:06 am, Mark Martinec wrote: > For FuzzyOcr it is optional, but you need ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On Sat, March 15, 2008 11:06 am, Mark Martinec wrote: > For FuzzyOcr it is optional, but you need to tell it that > you don't have it. There is a setting in FuzzyOcr.cf where you can list > what optional external programs you have. Comment out the ones that you do > not have, e.g.: > > # Include additional scanner/preprocessor commands here: > # > focr_bin_helper pnmnorm, pnminvert, ppmtopgm, pamtopnm, pamditherbw > #focr_bin_helper pnmnorm, pnminvert, pamthreshold, ppmtopgm, pamtopnm > #focr_bin_helper tesseract Mark, thanks, Mark hmmm, I'm still getting errors like: ---- # tail FuzzyOcr.log 2008-03-17 14:41:47 [14594] Error running preprocessor(pamthreshold): pamthreshold -simple -threshold 0.5 2008-03-17 14:41:47 [14594] Errors in Scanset "ocrad-decolorize" 2008-03-17 14:41:47 [14594] Return code: 2048, Error: save_execute: failed to exec pamthreshold -simple -threshold 0.5: No such file or directory at /etc/mail/spamassassin/FuzzyOcr/Misc.pm line 173. 2008-03-17 14:41:47 [14594] Skipping scanset because of errors, trying next... # both pamthreshold and pamthreshold are remmed out ---- pwd /etc/mail/spamassassin grep tesseract FuzzyOcr.cf # focr_bin_helper tesseract grep pamthreshold FuzzyOcr.cf # focr_bin_helper pnmnorm, pnminvert, pamthreshold, ppmtopgm, pamtopnm ----- unless I'm editing wrong conf file ? and, I've stop/started amavisd -- Voytek ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/...fo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/ |