-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Fletcher Mattox wrote: > 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 > You should simply extract the tar.gz file into /etc/mail/spamassassin/, there is no need to put anything in pre files, everything is done in the cf file that is shipped :)
Chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE430bJQIKXnJyDxURAhN2AJ0cKn6qKSQnsRECRdyDeEFAVf8IFACeOVPJ llzR3xOPOQrkAias4xr9X10= =Uz8v -----END PGP SIGNATURE-----
