>I have inherited an Apple Xserve running Server 10.4.9
>Postfix: mail_version = 2.1.5
>SpamAssassin version 3.0.1
>ClamAV 0.88.5
>(yes I know that various apps require updating)
>I have obtained from http://www.rulesemporium.com/plugins.htm
>PDFInfo.pm and pdfinfo.cf
>I have placed pdfinfo.cf into /etc/mail/spamassassin
>and
>placed PDFInfo.pm into /etc/mail/spamassassin/Plugin
>I then amended /etc/mail/spamassassin/init.pre with the
following line
>loadplugin Mail::SpamAssassin::Plugin::PDFInfo /etc/mail/
spamassassin/Plugin/PDFInfo.pm
>However
>PDF spam mail does not seem to be using this plugin
>I get the following from the headers of pdf spam mail
>X-Spam-Status: No, hits=-1.757 tagged_above=-999 required=2.7
tests=AWL, BAYES_00, HTML_MESSAGE, RCVD_BY_IP
>How can I prove that the plugin is operational.
Further to my previous mail I found typos had crept in when getting
the files from rulesemporium
These, I believe I have corrected.
However, now when I run
spamassassin --lint I get the following
spamassassin --lint
failed to parse plugin /etc/mail/spamassassin/Plugin/PDFInfo.pm:
Can't locate Mail/SpamAssassin/Logger.pm in @INC (@INC contains: //
lib/perl5/site_perl /System/Library/Perl/5.8.6/darwin-thread-
multi-2level /System/Library/Perl/5.8.6 /Library/Perl/5.8.6/darwin-
thread-multi-2level /Library/Perl/5.8.6 /Library/Perl /Network/
Library/Perl/5.8.6/darwin-thread-multi-2level /Network/Library/Perl/
5.8.6 /Network/Library/Perl /System/Library/Perl/Extras/5.8.6/darwin-
thread-multi-2level /System/Library/Perl/Extras/5.8.6 /Library/Perl/
5.8.1) at /etc/mail/spamassassin/Plugin/PDFInfo.pm line 131.
BEGIN failed--compilation aborted at /etc/mail/spamassassin/Plugin/
PDFInfo.pm line 131.
failed to create instance of plugin
Mail::SpamAssassin::Plugin::PDFInfo: Can't locate object method "new"
via package "Mail::SpamAssassin::Plugin::PDFInfo" at (eval 32) line 1.
Where line 131 reads
use Mail::SpamAssassin::Logger;
Can someone give me some pointers as to what may be wrong
Regards
Tony