I seem to be missing something on the configuration of FuzzyOcr, or
perhaps my knowledge of how to install plugins is lacking.  I initially
put this line in /etc/mail/spamassassin/init.pre:

  loadplugin FuzzyOcr /etc/mail/spamassassin/plugins/FuzzyOcr.pm

and spamassassin complains:

smtp.cs.utexas.edu$ spamassassin --lint
[8948] warn: plugin: failed to load plugin 
/lusr/perl5.8/etc/mail/spamassassin/FuzzyOcr.pm: No such file or directory
smtp.cs.utexas.edu$ 

Huh?  I don't understand why it is looking there for FuzzyOcr.pm, but ok,
I'll rename it (and edit the path in init.pre):

smtp.cs.utexas.edu$ mv /etc/mail/spamassassin/plugins/FuzzyOcr.pm \
        /lusr/perl5.8/etc/mail/spamassassin/FuzzyOcr.pm

smtp.cs.utexas.edu$ spamassassin --lint
[9334] warn: Subroutine new redefined at 
/lusr/perl5.8/etc/mail/spamassassin/FuzzyOcr.pm line 56.
[9334] warn: Subroutine parse_config redefined at 
/lusr/perl5.8/etc/mail/spamassassin/FuzzyOcr.pm line 66.
[9334] warn: Subroutine dummy_check redefined at 
/lusr/perl5.8/etc/mail/spamassassin/FuzzyOcr.pm line 101.
[9334] warn: Subroutine wrong_ctype redefined at 
/lusr/perl5.8/etc/mail/spamassassin/FuzzyOcr.pm line 105.
[9334] warn: Subroutine corrupt_img redefined at 
/lusr/perl5.8/etc/mail/spamassassin/FuzzyOcr.pm line 119.
[9334] warn: Subroutine check_fuzzy_ocr redefined at 
/lusr/perl5.8/etc/mail/spamassassin/FuzzyOcr.pm line 133.
smtp.cs.utexas.edu$ 

Does anyone know why perl is generating these warnings?  The plugin seems
to work otherwise, i.e. it correctly identifies the images in the sample
tar file.

Thanks
Fletcher

Reply via email to