I upgraded perl on Friday and today discovered a problem with sa-learn. The error message is below:
# sa-learn --file --spam spam Use of inherited AUTOLOAD for non-method Digest::SHA1::sha1_hex() is deprecated at /usr/lib/perl5/site_perl/5.8.1/Mail/SpamAssassin/SHA1.pm line 57. Learned from 0 message(s) (1 message(s) examined). Can't locate auto/Digest/SHA1/sha1_hex.al in @INC (@INC contains: lib /usr/lib/p erl5/site_perl/5.8.1 /usr/local/lib/perl5/5.8.4/i686-linux /usr/local/lib/perl5/ 5.8.4 /usr/local/lib/perl5/site_perl/5.8.4/i686-linux /usr/local/lib/perl5/site_ perl/5.8.4 /usr/local/lib/perl5/site_perl) at /usr/lib/perl5/site_perl/5.8.1/Mai l/SpamAssassin/SHA1.pm line 57 All other perl related stuff is working. MIMEDefang is fine. Other parts of SA are fine (mail scanning, DCC, razor, pyzor, spamcopuri, etc.) Spam tagging and whatnot are fine -- just sa-learn is not working. I tried reinstalling Digest::SHA1 from CPAN, but it said that the module was up to date. I'm using SA 2.64, which I usually upgrade via CPAN, also. Does anyone have any ideas on how to fix this? Thanks for your time. Regards, Matt Thomas
