Yeah, that's probably it then.  Sounds like perl isn't using the path where
you've got SA installed in its lib path.  Try something like

perl -I$HOME/path/to/where/sa/installed spamassassin -t < message

That should force it to be able to find the perl libs it needs.

C

Chris Cosentino wrote:

CC> Problem is that it's a "clean" install. I downloaded the latest "2.20" code
CC> and installed it for "Personal" use (it's not site wide).
CC>
CC> When I run the test from the command line I get only the following error:
CC>
CC> ===
CC>
CC> HOST$ spamassassin -t < sample-spam.txt > spam.out
CC>
CC> Failed to run A_FROM_IN_AUTO_WLIST SpamAssassin test, skipping:
CC>          (Can't locate object method "check_for_auto_whitelist" via package
CC> "Mail::SpamAssassin::PerMsgStatus" (perhaps you forgot to load
CC> "Mail::SpamAssassin::PerMsgStatus"?) at
CC> lib/Mail/SpamAssassin/PerMsgStatus.pm line 1529.
CC> )
CC>
CC> ===
CC>
CC> Like I said, it's a clean install, no earlier version had been installed.
CC> Perhaps it's a PERL thing where it can't find the proper modules? When run
CC> from the command line it's not generating the same errors as it does when
CC> it's run by procmail.
CC>
CC> -Chris
CC>
CC> At Wednesday 02:23 PM 5/1/2002, Craig R Hughes wrote:
CC> >I think what those messages are showing is that your perl code is out of sync
CC> >with your config files.  You have more recent config files than .pm files, and
CC> >so as we've added eval rules, you haven't got the actual implementation of
CC> >those
CC> >evals, and so spamassassin is failing to execute the rules the config
CC> >files are
CC> >telling it about.  Check to make sure you've got the most recent distribution
CC> >properly installed, and those messages should go away.  You're correct in
CC> >assuming that it just means that those rules aren't executing, and the rest
CC> >still are, but obviously that will reduce the effectiveness of the filtering,
CC> >particularly since the eval rules tend to be more effective filters than the
CC> >regexes (not always, but generally) since the checks they perform are somewhat
CC> >more involved.
CC> >
CC> >C
CC> >
CC> >Chris Cosentino wrote:
CC> >
CC> >CC> Hi,
CC> >CC>
CC> >CC> I installed Spam Assasin and it is tagging SPAM correctly, but when I
CC> >check
CC> >CC> my procmail log I see the following (below) for every message. Any ideas?
CC> >CC> It seems to be just these features that are not working, while the rest of
CC> >CC> them are.
CC> >CC>
CC> >CC> Any help is greatly appreciated. Thanks!
CC> >CC>
CC> >CC> ====================
CC> >CC> Failed to run LINES_OF_YELLING SpamAssassin test, skipping:
CC> >CC>          (Can't locate object method "check_for_yelling" via package
CC> >CC> "Mail::SpamAssassin::PerMsgStatus" (perhaps you forgot to load
CC> >CC> "Mail::SpamAssassin::PerMsgStatus"?) at
CC> >CC> /usr/lib/perl5.6/site-perl/5.6.1/Mail/SpamAssassin/PerMsgStatus.pm
CC> >line 1077.
CC> >CC> )
CC> >CC> Failed to run LINES_OF_YELLING_2 SpamAssassin test, skipping:
CC> >CC>          (Can't locate object method "check_for_num_yelling_lines" via
CC> >CC> package "Mail::SpamAssassin::PerMsgStatus" (perhaps you forgot to load
CC> >CC> "Mail::SpamAssassin::PerMsgStatus"?)
CC> >CC> at /usr/lib/perl5.6/site-perl/5.6.1/Mail/SpamAssassin/PerMsgStatus.pm line
CC> >CC> 1077.
CC> >CC> )
CC> >CC> Failed to run LINES_OF_YELLING_3 SpamAssassin test, skipping:
CC> >CC>          (Can't locate object method "check_for_num_yelling_lines" via
CC> >CC> package "Mail::SpamAssassin::PerMsgStatus" (perhaps you forgot to load
CC> >CC> "Mail::SpamAssassin::PerMsgStatus"?)
CC> >CC> at /usr/lib/perl5.6/site-perl/5.6.1/Mail/SpamAssassin/PerMsgStatus.pm line
CC> >CC> 1077.
CC> >CC> )
CC> >CC> Failed to run FORGED_JUNO_RCVD SpamAssassin test, skipping:
CC> >CC>          (Can't locate object method
CC> >CC> "check_for_forged_juno_received_headers" via package
CC> >CC> "Mail::SpamAssassin::PerMsgStatus" (perhaps you forgot to load
CC> >CC> "Mail::SpamAssassin::PerMs
CC> >CC> gStatus"?) at
CC> >CC> /usr/lib/perl5.6/site-perl/5.6.1/Mail/SpamAssassin/PerMsgStatus.pm
CC> >line 1077.
CC> >CC> )
CC> >CC> Failed to run SUBJ_ALL_CAPS SpamAssassin test, skipping:
CC> >CC>          (Can't locate object method "subject_is_all_caps" via package
CC> >CC> "Mail::SpamAssassin::PerMsgStatus" (perhaps you forgot to load
CC> >CC> "Mail::SpamAssassin::PerMsgStatus"?) at /usr/
CC> >CC> lib/perl5.6/site-perl/5.6.1/Mail/SpamAssassin/PerMsgStatus.pm line 1077.
CC> >CC> )
CC> >CC> Failed to run SUBJ_MISSING SpamAssassin test, skipping:
CC> >CC>          (Can't locate object method "subject_missing" via package
CC> >CC> "Mail::SpamAssassin::PerMsgStatus" (perhaps you forgot to load
CC> >CC> "Mail::SpamAssassin::PerMsgStatus"?) at /usr/lib/
CC> >CC> perl5.6/site-perl/5.6.1/Mail/SpamAssassin/PerMsgStatus.pm line 1077.
CC> >CC> )
CC> >CC>   From [EMAIL PROTECTED]  Wed May  1 09:46:58 2002
CC> >CC>   Subject: test
CC>
CC> --
CC> Chris Cosentino
CC> Cisco Systems, Inc.
CC> [EMAIL PROTECTED]
CC> <mailto:[EMAIL PROTECTED]>
CC>
CC>
CC> _______________________________________________________________
CC>
CC> Have big pipes? SourceForge.net is looking for download mirrors. We supply
CC> the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
CC> _______________________________________________
CC> Spamassassin-talk mailing list
CC> [EMAIL PROTECTED]
CC> https://lists.sourceforge.net/lists/listinfo/spamassassin-talk
CC>
CC>
CC>


_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to