already solved my problem! its scanning now, but clamd must be running on
127.0.0.1 restricted.
the only problem i have - postfix doesnt throw the attachment away. so the
user still would get the virus. (in this case the eicar testvirus)

Mit freundlichen Grüßen

Jürgen Ladstätter ( [EMAIL PROTECTED] )

_______________________________________________

P.I.C.S. EDV GmbH.
A-5020 Salzburg, Landsturmstraße 18
Tel.: +43 (662) 455467
Fax.: +43 (662) 455468

Web: http://www.pics.co.at
E-Mail: [EMAIL PROTECTED]
Ihr Partner für Internet, Computer und Software
_______________________________________________


-----Ursprüngliche Nachricht-----
Von: jdow [mailto:[EMAIL PROTECTED] 
Gesendet: Dienstag, 29. August 2006 13:44
An: users@spamassassin.apache.org
Betreff: Re: AW: Problems with ClamAV Plugin

That requires it to run.
===8<---
>[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.
===8<---

That bottom line indicates that perl cannot find the File::Scan::ClamAV
module for one reason or another.

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


> it does the following when it finds a virus:
>
> } elsif($code eq 'FOUND') {
>    Mail::SpamAssassin::Plugin::dbg("ClamAV: Detected virus: $virus");
>    $header = "Yes ($virus)";
>    $isspam = 1;
>
> so it adds a flag for SA 

Reply via email to