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

Problem with ClamAV plugin for spamassassin:


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/ Can't locate /etc/spamassassin/ 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/ line 107. 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 and with the text from Placed the two files in the /etc/spamassassin directory. Made the recommended change to 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: Sent from the clamav-users mailing list archive at _______________________________________________ Help us build a comprehensive ClamAV guide: visit