> Hi, I have tried to install plugin in this mode:
>
> - I have put .cf file in /etc/mail/spamassassin
> - I have put .pm file in /usr/lib/perl5/5.8.8


Put it in /etc/mail/spamassassin.

> - I have edit v310.pre and I have add the line:
>
> loadplugin Mail::SpamAssassin::Plugin::PDFInfo


Then try:
loadplugin Mail::SpamAssassin::Plugin::PDFInfo
/etc/mail/spamassasin/PDFInfo.pm

>
> ..but in log file I have:
>
> [23220] dbg: plugin: loading
> Mail::SpamAssassin::Plugin::PDFInfo from @INC [23220] warn:
> plugin: failed to parse plugin (from @INC): Can't locate
> Mail/SpamAssassin/Plugin/PDFInfo.pm in @INC (@INC contains: lib
> /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.8
> /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7
> /usr/lib/perl5/site_perl/5.8.6
> /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4
> /usr/lib/perl5/site_perl/5.8.3
> /usr/lib/perl5/site_perl
> /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6
> /usr/lib/perl5/vendor_perl/5.8.5
> /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3
> /usr/lib/perl5/vendor_perl
> /usr/lib/perl5/5.8.8/i386-linux-thread-multi
> /usr/lib/perl5/5.8.8) at (eval
> 73) line 1.
> [23220] warn: plugin: failed to create instance of plugin
> Mail::SpamAssassin::Plugin::PDFInfo: Can't locate object
> method "new" via
> package "Mail::SpamAssassin::Plugin::PDFInfo" at (eval 74) line 1.
>
> I have read another post but this says about 'MAIL' and not
> 'Mail'. Thanks.



Bret