On Thu, Feb 15, 2007 at 10:08:03AM -0700, LuKreme wrote:
> akane ~ $ sa-learn --spam --mbox Mail/sa-learn-spam
> plugin: failed to parse plugin (from @INC): Can't locate Mail/DKIM.pm  

Mail::DKIM ...

> plugin: failed to create instance of plugin  
> Mail::SpamAssassin::Plugin::DKIM: Can't locate object method "new"  
> via package "Mail::SpamAssassin::Plugin::DKIM" at (eval 50) line 1.

trying to be loaded by the (default off) SA DKIM plugin.

> running CPAN:
> cpan> install Mail::SpamAssassin
> Mail::SpamAssassin is up to date (3.001007).

3.1.7 ?

> Mail::SpamAssassin::Plugin::DKIM is up to date (undef).

Sure, it's part of SA itself.

> (and for the record, if I link DKIM.pm into /usr/local/lib/perl5/ 
> site_perl/5.8.8/mach/ I get the same error)

Unless you know what you're doing, don't manually try to change perl lib
directories.

In this case, as someone else has pointed out, the problem is that you've
enabled the DKIM plugin, which requires Mail::DKIM, which you apparently don't
have installed.  The easy fix for the moment is to comment out the plugin.  If
you really want the DKIM plugin, get the appropriate module, then re-enable
the plugin.

-- 
Randomly Selected Tagline:
"Those who do not archive the past are condemned to retype it!"
                - Garfinkel and Spafford

Attachment: pgpre1EHYFyJu.pgp
Description: PGP signature

Reply via email to