problems with razor2 plugin in spamassassin
- From: tsimmm@xxxxxxxxx
- Date: 29 Oct 2006 13:56:02 -0800
I installed spamassassin from CPAN. It worked fine until I enabled
razor2 support. Now, if I try to learn new rules(sa-learn --spam --mbox
/location), I get an error:
sa-learn --mbox --spam /var/mail/spam
plugin: failed to create instance of plugin
Mail::Spamassassin::Plugin::Razor2: Can't locate object method "new"
via package "Mail::Spamassassin::Plugin::Razor2" at (eval 26) line 1.
Subroutine new redefined at
/usr/local/share/perl/5.8.8/Mail/SpamAssassin/Plugin/Razor2.pm line 58.
Subroutine set_config redefined at
/usr/local/share/perl/5.8.8/Mail/SpamAssassin/Plugin/Razor2.pm line 89.
Subroutine razor2_access redefined at
/usr/local/share/perl/5.8.8/Mail/SpamAssassin/Plugin/Razor2.pm line
133.
Subroutine plugin_report redefined at
/usr/local/share/perl/5.8.8/Mail/SpamAssassin/Plugin/Razor2.pm line
331.
Subroutine plugin_revoke redefined at
/usr/local/share/perl/5.8.8/Mail/SpamAssassin/Plugin/Razor2.pm line
349.
Subroutine check_razor2 redefined at
/usr/local/share/perl/5.8.8/Mail/SpamAssassin/Plugin/Razor2.pm line
367.
Subroutine check_razor2_range redefined at
/usr/local/share/perl/5.8.8/Mail/SpamAssassin/Plugin/Razor2.pm line
421.
Learned tokens from 0 message(s) (68 message(s) examined)
I get exactly same error when doing "$ spamassassin --lint"
I dont know anything to do more, file is in right location, it has
execution rights, tried to force install. Nothing
Thanks in advance,
Ivo
.
- Follow-Ups:
- Re: problems with razor2 plugin in spamassassin
- From: tsimmm
- Re: problems with razor2 plugin in spamassassin
- Prev by Date: Re: String representation of a form
- Next by Date: Re: String representation of a form
- Previous by thread: String representation of a form
- Next by thread: Re: problems with razor2 plugin in spamassassin
- Index(es):
Relevant Pages
|