[Mimedefang] Mimedefang and Anti-virus

Aniruddha Barua zmrif at yahoo.com
Tue Jan 19 01:54:14 EST 2010


Have you installed any anti-virus program?

If you have installed
the anti-virus program after installing mimedefang, then you need to
manually edit the /usr/local/bin/mimedefang.pl (check your mimedefang
installation path). For example, for ClamAV, you need to edit these
lines (around line no. 127 & 128) to look like this

$Features{'Virus:CLAMAV'}   = ('/usr/local/bin/clamscan' ne '/bin/false' ? '/usr/local/bin/clamscan' : 0);
$Features{'Virus:CLAMD'}    = ('/usr/local/sbin/clamd' ne '/bin/false' ? '/usr/local/sbin/clamd' : 0);

and around line 192 to look like this


$ClamdSock  = "/var/spool/MIMEDefang/clamd.sock";

Better, recompile and reinstall mimedefang.

--A. Barua.



      



More information about the MIMEDefang mailing list