[Mimedefang] Using KAV/AVP with MIMEdefang

Cahya Wirawan cwirawan at email.archlab.tuwien.ac.at
Tue Sep 23 09:08:01 EDT 2003


On Tue, Sep 23, 2003 at 09:44:20AM +0200, H?kon Nilsen (Exinet AS) wrote:
> Hi, everybody,
> 
> I've installed KAV on my system for use with MIMEdefang, but it doesn't seem
> to work. KAV itself works and has a license, so that's not the problem. But
> in MIMEdefang KAV is called by this command:
> 
>         return message_contains_virus_avp()      if
> ($Features{'Virus:AVP'});
> 
> And I guess Virus:AVP is supposed to be a Perl module?!?
> 

Virus:AVP is not a module, $Features{'Virus:AVP'} is defined in mimedefang.pl:
$Features{'Virus:AVP'}      = ('/bin/false' ne '/bin/false' ? '/bin/false' : 0);
just change it to :
$Features{'Virus:AVP'}      = $KAVDAEMON;

and $KAVDAEMON is the path to kavdaemon, in my case it is /opt/AVP/kavdaemon;

cahya.



More information about the MIMEDefang mailing list