Customer Portal Language
 
Home Knowledge Base SmarterMail How-To: Configuring Clam Anti-Virus
Information
Article ID15
Created On12/15/2004
Modified3/21/2008
Share With Others
How-To: Configuring Clam Anti-Virus
Software affected: SmarterMail V1.x, V2.x, and V3.x

Note: SmarterMail 4.x and later versions include ClamAV as part of the installer, so all of this will be set up automatically.  If you do not wish to use the included version, you may follow the steps below to manually configure ClamAV.

Download and install Clam from:   http://www.sosdg.org/clamav-win32/index.php .

Then, create a new batch file called "TheScan.bat" in the root of your C drive. In it, put the following line:

                "C:\clamav-devel\bin\Clamscan" --remove %1

In SmarterMail, as the System Admin go to Settings -> Protocol Settings and enter the following for Command Line EXE:

                C:\thescan.bat %filepath

For SmarterMail 3.x and later go to Settings -> General Settings, click the Spool taband enter the following for Command Line EXE:

              C:\thescan.bat %filepath

Then check the "Enabled" box and Save the settings.

Note: In higher load scenarios, Clam also allows you to run it as a service to allow for quicker scanning of the files, resulting from a reduction in load time.  Information on running Clam as a service can be found in the forum at http://forums.smartertools.com/forums/thread/6582.aspx.