This article explains how to setup and integrate ClamWin within MailEnable for virus scanning. Versions 6 and later of MailEnable include ClamWin, so this article does not apply to those MailEnable versions.
Step 1: Installing and Configuring ClamWin Antivirus:
Please download the respective registry import file for the ClamWin Antivirus MailEnable plug-in:
64 Bit versions of Windows: http://www.mailenable.com/utilities/addons/clamwin64bit.zip
32 Bit versions of Windows: http://www.mailenable.com/utilities/addons/clamwin32.zip
Step 2: Creating an antivirus filter within the MailEnable administration console
In versions 3.x onwards MailEnable introduced a spam protection filter which is enabled by default when you install MailEnable. The spam protection script will score the message with a 100 positive weighting and mark the message as spam if an infection is found by the command line scanner. The infected attachment will automatically be removed by the command line scanner. More information in regards to the spam protection filter can be found within the MailEnable documentation or the following knowledgebase article: Article ME020391
However if you are configuring ClamWin on a MailEnable version 1.x or 2.x (Pro or Ent) and require actions to be performed based on message infection then this will require the creation of a global filter in the MailEnable Administration program that detects when the message contains a virus and deletes the message or quarantines it, notifies sender, etc.
NOTE: A global filter can also be created in MailEnable versions 3.x and 4.x (Pro and Ent).
To create an antivirus filter:
Testing antivirus configuration
Test the configuration by emailing yourself the Eicar test virus from http://www.eicar.com. To perform more advanced testing and debugging, follow the details in this knowledge base article: Article ME020085
The MailEnable Antivirus log files are located under: Servers > Local host > Extensions > MailEnable Message Filter > logs > Antivirus
Configuring the MailEnable MTA agent
The Mail Transfer Agent can be set to run in multiple occurrences or multiple
threads. This setting allows a command line scanner to run several times
concurrently allowing a greater pass through of mail checking. The
default settings for the number of concurrent MTA transfer threads are 64,
however it is fairly common in high volumes of processed mail that the antivirus
program does not handle this well and can often
The default thread count can be changed in the MTA properties:
NOTE: It is mandatory that the MTA maximum transfer thread settings is set to 1 for ClamWin antivirus to operate correctly.
How to debug anti-virus support and the Mail Transfer Agent:Article ME020121