It looks like the perl ClamAV scanner is not installed on the system.
It needs to be installed but not running.

If it is installed "man File::Scan::ClamAV" will give a man page.
Otherwise you need to install it. (I used cpan to install:
/usr/lib/perl5/site_perl/5.8.6/File/Scan/ClamAV.pm ) You might
review that part of the clamav plugin installation instructions.

{^_^}

----- Original Message ----- From: "Jürgen Ladstätter" <[EMAIL PROTECTED]>

Hi list,



i found the clamav plugin and thought thats a good idea :) so i did
everything how it was explained, but no virus header is added to an email.
also eicar testvirus is going through. logs tell my why:



Aug 29 10:22:23 TS_webserver spamd[7247]: spamd: processing message
<[EMAIL PROTECTED]> for web0p1:0
Aug 29 10:22:23 TS_webserver spamd[7247]: rules: failed to run CLAMAV test,
skipping:
Aug 29 10:22:23 TS_webserver spamd[7247]:  (Can't locate object method
"check_clamav" via package "Mail::SpamAssassin::PerMsgStatus" at
/usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line
2614, <GEN4> line 163.
Aug 29 10:22:23 TS_webserver spamd[7247]: )
Aug 29 10:22:23 TS_webserver spamd[7247]: spamd: clean message (0.1/5.0) for
web0p1:0 in 0.8 seconds, 4815 bytes.





/usr/bin/spamassassin -lint says:

TSwebserver spamassassin # /usr/bin/spamassassin --lint

[7703] warn: plugin: failed to parse plugin (from @INC): Can't locate
File/Scan/ClamAV.pm in @INC (@INC contains:
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux /usr/lib/perl5/vendor_perl/5.8.8
/etc/perl /usr/lib/perl5/vendor_perl/5.8.7
/usr/lib/perl5/vendor_perl/5.8.7/i386-linux /usr/lib/perl5/vendor_perl
/usr/lib/perl5/site_perl/5.8.8/i386-linux /usr/lib/perl5/site_perl/5.8.8
/usr/lib/perl5/site_perl /usr/lib/perl5/5.8.8/i386-linux
/usr/lib/perl5/5.8.8 /usr/local/lib/site_perl .) at (eval 69) line 1.

[7703] warn: plugin: failed to create instance of plugin File::Scan::ClamAV:
Can't locate object method "new" via package "File::Scan::ClamAV" at (eval
70) line 1.

[7703] warn: plugin: failed to parse plugin
/etc/mail/spamassassin/clamav.pm: Can't locate File/Scan/ClamAV.pm in @INC
(@INC contains: /usr/lib/perl5/vendor_perl/5.8.8/i386-linux
/usr/lib/perl5/vendor_perl/5.8.8 /etc/perl /usr/lib/perl5/vendor_perl/5.8.7
/usr/lib/perl5/vendor_perl/5.8.7/i386-linux /usr/lib/perl5/vendor_perl
/usr/lib/perl5/site_perl/5.8.8/i386-linux /usr/lib/perl5/site_perl/5.8.8
/usr/lib/perl5/site_perl /usr/lib/perl5/5.8.8/i386-linux
/usr/lib/perl5/5.8.8 /usr/local/lib/site_perl .) at
/etc/mail/spamassassin/clamav.pm line 5.

[7703] warn: BEGIN failed--compilation aborted at
/etc/mail/spamassassin/clamav.pm line 5.

[7703] warn: plugin: failed to create instance of plugin ClamAV: Can't
locate object method "new" via package "ClamAV" at (eval 225) line 1.

[7703] warn: config: failed to parse line, skipping: auto_learn 1

[7703] warn: rules: failed to run CLAMAV test, skipping:

[7703] warn:  (Can't locate object method "check_clamav" via package
"Mail::SpamAssassin::PerMsgStatus" at
/usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line
2614.

[7703] warn: )


Reply via email to