You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Avram-Teodor Berindeie <ad...@eduaicta.ro> on 2022/08/29 17:39:21 UTC

Mail-SpamAssassin-4.0.0-RC1 -> Pyzor warn

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;

Re: Mail-SpamAssassin-4.0.0-RC1 -> Pyzor warn

Posted by "Kevin A. McGrail" <km...@apache.org>.
Thanks.  We're working on digest issues as well with the pure perl pyzor 
implementation too.

On 8/29/2022 1:39 PM, 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;

-- 
Kevin A. McGrail
KMcGrail@Apache.org

Member, Apache Software Foundation
Chair Emeritus Apache SpamAssassin Project
https://www.linkedin.com/in/kmcgrail - 703.798.0171


Re: Mail-SpamAssassin-4.0.0-RC1 -> Pyzor warn

Posted by gi...@paclan.it.
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