clamav-users June 2008 archive
Main Archive Page > Month Archives  > clamav-users archives
clamav-users: [Clamav-users] ClamAV Plugin for Spamassassin

[Clamav-users] ClamAV Plugin for Spamassassin

From: metamorph <brown2235a_at_nospam>
Date: Wed Jun 25 2008 - 15:14:59 GMT
To: clamav-users@lists.clamav.net

Problem with ClamAV plugin for spamassassin:

Spamassassin/Clamav/Ubuntu/PHP5/Apache2/citadel/

I just installed spamassasin and tested it with gtube and it worked, but when I tried to install clamav it still lets the EICAR files through. I read through old posts and everything on the spamassassin site and still cannot get it to work.

Used spamassassin -D --lint to see if clamav plugin was loading:  

[6680] warn: plugin: failed to parse plugin /etc/spamassassin/clamav.pm: Can't locate /etc/spamassassin/clamav.pm in @INC (@INC contains:
/usr/share/perl5 /etc/perl /usr/local/lib/perl/5.8.8
/usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/lib/perl/5.8
/usr/share/perl/5.8 /usr/local/lib/site_perl) at
/usr/share/perl5/Mail/SpamAssassin/PluginHandler.pm line 107.

PluginHandler.pm line 107:

    dbg("plugin: loading $package from $path");     # use require instead of "do", so we get built-in $INC{filename}     # smarts
    $ret = eval { require $path; };
  }

I guess the plugin is not getting loaded. Any suggestions on how to make it connect together are greatly appreciated.

Installation steps I took:
installed clamav and tested it with clamscan filescanclamav (pearl) installed with CPAN Then, I created the files clamav.cf and clamav.pm with the text from http://wiki.apache.org/spamassassin/ClamAVPlugin. Placed the two files in the /etc/spamassassin directory. Made the recommended change to clamav.pm: our $CLAMD_SOCK = "/var/run/clamav/clamd.ctdl"; # changed Restarted spamassassin. grep shows spamassassin. Sent EICAR AV text test and it still doesn't do anything, ie the mail message is still delivered as normal

I really appreciate any help or suggestions. -- View this message in context: http://www.nabble.com/ClamAV-Plugin-for-Spamassassin-tp18113891p18113891.html Sent from the clamav-users mailing list archive at Nabble.com. _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml