Applies to: SmarterMail 1.x, 2.x, and 3.x
Important 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.
Important 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.