[Mimedefang] ClamAV

David F. Skoll dfs at roaringpenguin.com
Thu Apr 8 19:38:28 EDT 2004


On Thu, 8 Apr 2004, John Barton wrote:

> You need to change the line:
> $Features{'Virus:CLAMD'}    = ('/bin/false' ne '/bin/false' ?
> '/bin/false' : 0);
> to
> $Features{'Virus:CLAMD'}    = ('/usr/sbin/clamd' ne '/bin/false' ?
> '/usr/sbin/clamd' : 0);
> if you want to use clamd for virus scanning. If you compiled by hand, it
> might just be easier to re-run configure while clamd is running and let
> it re-detect it.

Don't edit mimedefang.pl.  Just put these lines near the top of your
filter file:

$Features{'Virus:CLAMD'} = '/usr/sbin/clamd';
$ClamdSock = '/path/to/clamd/socket';

Regards,

David.



More information about the MIMEDefang mailing list