View Single Post
  #14  
Old 29th March 2007, 15:59
bschultz bschultz is offline
Senior Member
 
Join Date: Jul 2006
Posts: 220
Thanks: 11
Thanked 10 Times in 10 Posts
Default

I copied the file like you said. Here's the new result of
Code:
/home/admispconfig/ispconfig/tools/spamassassin/usr/bin/spamassassin --debug FuzzyOcr < /usr/src/FuzzyOcr-3.5.1/samples/ocr-gif.eml > /dev/null
from the How-To:

Quote:
debian:~# ls -l /usr/src/FuzzyOcr-3.5.1/samples/
total 156
-rw-r--r-- 1 1000 users 13633 2007-01-07 05:55 ocr-animated.eml
-rw-r--r-- 1 1000 users 16108 2007-01-07 05:55 ocr-gif.eml
-rw-r--r-- 1 1000 users 27506 2007-01-07 05:55 ocr-jpg.eml
-rw-r--r-- 1 1000 users 27842 2007-01-07 05:59 ocr-multi.eml
-rw-r--r-- 1 1000 users 24657 2007-01-07 05:55 ocr-obfuscated.eml
-rw-r--r-- 1 1000 users 18236 2007-01-07 05:55 ocr-png.eml
-rw-r--r-- 1 1000 users 16113 2007-01-07 05:55 ocr-wrongext.eml
-rw-r--r-- 1 1000 users 3576 2007-01-07 05:55 README
debian:~# /home/admispconfig/ispconfig/tools/spamassassin/usr/bin/spamassassin - -debug FuzzyOcr < /usr/src/FuzzyOcr-3.5.1/samples/ocr-gif.eml > /dev/null
Subroutine FuzzyOcr::O_CREAT redefined at /usr/share/perl/5.8/Exporter.pm line 6 5.
at /usr/lib/perl/5.8/POSIX.pm line 19
Subroutine FuzzyOcr::O_EXCL redefined at /usr/share/perl/5.8/Exporter.pm line 65 .
at /usr/lib/perl/5.8/POSIX.pm line 19
Subroutine FuzzyOcr::O_RDWR redefined at /usr/share/perl/5.8/Exporter.pm line 65 .
at /usr/lib/perl/5.8/POSIX.pm line 19
[20247] warn: plugin: failed to parse plugin /home/admispconfig/ispconfig/tools/ spamassassin/etc/mail/spamassassin/FuzzyOcr.pm: Can't locate FuzzyOcr/Logging.pm in @INC (@INC contains: /etc/mail/spamassassin lib /home/admispconfig/ispconfig /tools/spamassassin/usr/share/perl/5.8.4 /etc/perl /usr/local/lib/perl/5.8.4 /us r/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/ share/perl/5.8 /usr/local/lib/site_perl) at /home/admispconfig/ispconfig/tools/s pamassassin/etc/mail/spamassassin/FuzzyOcr.pm line 24.
[20247] warn: BEGIN failed--compilation aborted at /home/admispconfig/ispconfig/ tools/spamassassin/etc/mail/spamassassin/FuzzyOcr.pm line 24.
[20247] warn: plugin: failed to create instance of plugin FuzzyOcr: Can't locate object method "new" via package "FuzzyOcr" at (eval 202) line 1.
[20247] info: config: failed to parse line, skipping: focr_global_wordlist /home /admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/FuzzyOcr.words
[20247] info: config: failed to parse line, skipping: focr_bin_helper pnmnorm, p nminvert, convert, ppmtopgm, tesseract
[20247] info: config: failed to parse line, skipping: focr_path_bin /usr/local/n etpbm/bin:/usr/local/bin:/usr/bin
[20247] info: config: failed to parse line, skipping: focr_preprocessor_file /ho me/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/FuzzyOcr.prep s
[20247] info: config: failed to parse line, skipping: focr_scanset_file /home/ad mispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/FuzzyOcr.scansets
[20247] info: config: failed to parse line, skipping: focr_enable_image_hashing 2
[20247] info: config: failed to parse line, skipping: focr_digest_db /home/admis pconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/FuzzyOcr.hashdb
[20247] info: config: failed to parse line, skipping: focr_db_hash /home/admispc onfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/FuzzyOcr.db
[20247] info: config: failed to parse line, skipping: focr_db_safe /home/admispc onfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/FuzzyOcr.safe.db
[20247] info: config: failed to parse line, skipping: focr_end_config
[20247] info: config: failed to parse line, skipping: use_dcc 1
[20247] info: config: failed to parse line, skipping: dcc_path /usr/bin/dccproc
[20247] info: config: failed to parse line, skipping: dcc_add_header 1
[20247] info: config: failed to parse line, skipping: dcc_dccifd_path /usr/sbin/ dccifd
[20247] info: config: failed to parse line, skipping: pyzor_add_header 1
[20247] warn: rules: failed to run FUZZY_OCR_CORRUPT_IMG test, skipping:
[20247] warn: (Can't locate object method "dummy_check" via package "Mail::Spam Assassin::PerMsgStatus" at /home/admispconfig/ispconfig/tools/spamassassin/usr/s hare/perl/5.8.4/Mail/SpamAssassin/PerMsgStatus.pm line 2647.
[20247] warn: )
[20247] warn: rules: failed to run FUZZY_OCR_WRONG_CTYPE test, skipping:
[20247] warn: (Can't locate object method "dummy_check" via package "Mail::Spam Assassin::PerMsgStatus" at /home/admispconfig/ispconfig/tools/spamassassin/usr/s hare/perl/5.8.4/Mail/SpamAssassin/PerMsgStatus.pm line 2647.
[20247] warn: )
[20247] warn: rules: failed to run FUZZY_OCR_WRONG_EXTENSION test, skipping:
[20247] warn: (Can't locate object method "dummy_check" via package "Mail::Spam Assassin::PerMsgStatus" at /home/admispconfig/ispconfig/tools/spamassassin/usr/s hare/perl/5.8.4/Mail/SpamAssassin/PerMsgStatus.pm line 2647.
[20247] warn: )
[20247] warn: rules: failed to run FUZZY_OCR_KNOWN_HASH test, skipping:
[20247] warn: (Can't locate object method "dummy_check" via package "Mail::Spam Assassin::PerMsgStatus" at /home/admispconfig/ispconfig/tools/spamassassin/usr/s hare/perl/5.8.4/Mail/SpamAssassin/PerMsgStatus.pm line 2647.
[20247] warn: )
[20247] info: rules: meta test DIGEST_MULTIPLE has undefined dependency 'DCC_CHECK'
[20247] warn: rules: failed to run FUZZY_OCR test, skipping:
[20247] warn: (Can't locate object method "fuzzyocr_check" via package "Mail::SpamAssassin::PerMsgStatus" at /home/admispconfig/ispconfig/tools/spamassassin/usr/share/perl/5.8.4/Mail/SpamAssassin/PerMsgStatus.pm line 2647.
[20247] warn: )
Reply With Quote