[Mimedefang] Installing clamav with MIMEDefang
David F. Skoll
dfs at roaringpenguin.com
Thu Mar 10 19:36:25 EST 2005
On Thu, 10 Mar 2005, Al Sparks wrote:
> Is there docs out there that tells how to install clamav with an
> already running MIMEDefang system?
It doesn't matter which you install first. To use Clam in
your filter, do one of these things:
1) Add this line to your filter:
$Features{'Virus:CLAMAV'} = '/usr/local/bin/clamscan'; # Or whatever...
That will use clamscan on every incoming e-mail.
2) For better performance, you should use clamd. Have it run as the
"defang" user and use the socket /var/spool/MIMEDefang/clamd.sock. Then
add these lines in your filter:
$Features{'Virus:CLAMD'} = '/usr/local/sbin/clamd';
$ClamdSock = '/var/spool/MIMEDefang/clamd.sock';
Note that the path you supply for Virus:CLAMD isn't really used
for anything; Perl just needs a "true" value to turn on clamd support.
Regards,
David.
More information about the MIMEDefang
mailing list