Qmail – Enable/Disable ClamAV

Monday, April 19, 2010 13:16
Posted in category Unix/Linux

The ClamAV scanning feature can be disabled in the qmail’s simcontrol configuration file. This will not disable the clamav daemon but will disable active scanning.

edit: /var/qmail/control/simcontrol

there should be text like this:

:clam=yes,spam=yes,spam_passthru=yes,attach=.vbs:.lnk:.scr:.wsh:.hta:.pif

what we need to do is to replace clam=yes with clam=no. If you don’t have this text insert it.

Next we need to run /var/qmail/bin/simscanmk to rebuild the changed configuration.

You can leave a response, or trackback from your own site.

Leave a Reply

Connect with Facebook