On 8/29/22 19:39, Avram-Teodor Berindeie wrote:
I compiled Apache SpamAssassin -- Version 4.0.0-RC1 from sources and in the testing phase I have the following problem. When running the command: /usr/local/src/Mail-SpamAssassin-4.0.0# spamassassin -t < sample-spam.txt > spam.out I get Aug 29 20:27:42.299 [28229] warn: rules: failed to run PYZOR_CHECK test, skipping: Aug 29 20:27:42.299 [28229] warn: \t(Can't locate object method "new" via package "Mail: [...]:SpamAssassin::SubProcBackChannel" (perhaps you forgot to load "Mail::SpamAssassin::SubProcBackChannel"?) at /usr/local/share/perl5/Mail/SpamAssassin/Plugin/Pyzor.pm line 336. Aug 29 20:27:42.299 [28229] warn: )It seems that it must be added to the respective file use Mail::SpamAssassin::SubProcBackChannel; immediately after line 37 use Mail::SpamAssassin::Plugin;
Bz and patch at https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8035 Giovanni
OpenPGP_signature
Description: OpenPGP digital signature