As a follow up. I found a Logger.pm on the system but it was not in the "/usr/share/perl5/Mail/SpamAssassin/" directory. I did find one in the "/usr/share/perl5/Razor2" directory. I made copy of this Logger.pm file and placed it in the "Mail/SpamAssassin/" directory like it was looking for in the error log below. When I restarted up the spamassassin program I got different errors this time: ----------------------------------------------------------------------- Aug 2 13:00:23 mail spamd[4820]: spamd starting
Aug 2 13:00:23 mail spamd[4822]: Subroutine new redefined at /usr/share/perl5/Mail/SpamAssassin/Logger.pm line 17. Aug 2 13:00:23 mail spamd[4822]: Subroutine log redefined at /usr/share/perl5/Mail/SpamAssassin/Logger.pm line 73. Aug 2 13:00:23 mail spamd[4822]: Subroutine log2file redefined at /usr/share/perl5/Mail/SpamAssassin/Logger.pm line 114. Aug 2 13:00:24 mail spamd[4822]: Failed to run GMD_PDF_FUZZY2_T1 SpamAssassin test, skipping:__(Undefined subroutine &Mail::SpamAssassin::Plugin::PDFInfo::dbg called at /usr/share/perl5/Mail/SpamAssassin/Plugin/PDFInfo.pm line 393._) ------------------------------------------------------------------------ My guess is that this is not the right "Logger.pm" file. Where do I find the correct file so I can make this work? And is that my only problem??? Thanks, Ken On Thu, 2 Aug 2007, User for SpamAssassin Mail List wrote: > > Hello, > > We are running a Debian Sarge system here with spamassassin version > Version: 3.0.3-2sarge1. > > I tried to put these plugins (ImageInfo and loadplugin) into my system and > got the following errors when I restarted: > -------------------------------------------------------------------- > Aug 2 12:08:56 mail spamd[8789]: failed to parse plugin (from @INC): Can't > locate > Mail/SpamAssassin/Logger.pm in @INC (@INC contains: lib ../lib > /usr/share/perl5 /etc/perl > /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 > /usr/lib/perl/5.8 > /usr/share/perl/5.8 /usr/local/lib/site_perl) at > /usr/share/perl5/Mail/SpamAssassin/Plugin/ImageInfo.pm line 100._BEGIN > failed--compilation aborted at > /usr/share/perl5/Mail/SpamAssassin/Plugin/ImageInfo.pm line > 100._Compilation failed in require at (eval 26) line 1. > > Aug 2 12:08:56 mail spamd[8789]: failed to create instance of plugin > Mail::SpamAssassin::Plugin::ImageInfo: Can't locate object method "new" > via package "Mail::SpamAssassin::Plugin::ImageInfo" at (eval 27) line 1. > > Aug 2 12:08:56 mail spamd[8789]: failed to parse plugin (from @INC): > Can't locate Mail/SpamAssassin/Logger.pm in @INC (@INC contains: lib > ../lib /usr/share/perl5 /etc/perl /usr/local/lib/perl/5.8.4 > /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/lib/perl/5.8 > /usr/share/perl/5.8 /usr/local/lib/site_perl) at > /usr/share/perl5/Mail/SpamAssassin/Plugin/PDFInfo.pm line 131._BEGIN > failed--compilation aborted at > /usr/share/perl5/Mail/SpamAssassin/Plugin/PDFInfo.pm line 131._Compilation > failed in require at (eval 28) line 1. Aug 2 12:08:56 mail spamd[8789]: > failed to create instance of plugin Mail::SpamAssassin::Plugin::PDFInfo: > Can't locate object method "new" via package > "Mail::SpamAssassin::Plugin::PDFInfo" at (eval 29) line 1. > ----------------------------------------------------------------------- > > What am I missing here to make this work? > > Thanks, > > Ken > > > > > On Thu, 2 Aug 2007, Jeroen Tebbens wrote: > > > Hi, > > > > Get the plugin PDFinfo > > > > http://www.rulesemporium.com/plugins/ > > > > And it will give you more control about PDF spam. It has a rule for empty > > body emails with PDF attachment (GMD_PDF_EMPTY_BODY) and give it a score > > to your liking. > > > > /Jeroen > > > > On Thu, 2 Aug 2007, Michael W Cocke wrote: > > > > > These blasted PDF spams are driving me mad! Any ideas for a rule that > > > would trip if there's no text in the body, just a PDF attachment ? > > > > > > (I'm using the PDFinfo plugin now, but I don't really understand it) > > > > > > Thanks! > > > > > > Mike- > > > -- > > > If you're not confused, you're not trying hard enough. > > > -- > > > Please note - Due to the intense volume of spam, we have installed > > > site-wide spam filters at catherders.com. If email from you bounces, > > > try non-HTML, non-encoded, non-attachments, > > > > > > > > >