How do I configure a User-Defined Anti-Virus product to work within the Virus Checker plug-in?

  1. Home
  2. Knowledge Base
  3. Softalk
  4. Softalk Mail Server
  5. How do I configure a User-Defined Anti-Virus product to work within the Virus Checker plug-in?


First check the documentation for your Anti Virus product to determine if it is possible to run the anti virus scanner from a command line. If it is then proceed as follows:-

Make sure that you are running the latest release of WorkgroupMail v7 More info

Check that in the folder C:Program FilesWorkgroupMail all of the applications (EXE’s) and application extension files (DLL’s) have the same creation date.

Your anti-virus product must be installed on to the PC normally.

E-mail scanning, if available as an option, must be disabled.

Specific folders must be excluded from the virus scanning function. For WorkgroupMail v7 add the WorkgroupMail data folder tree to the exclusions list. For WorkgroupMail v6 ensure that the exclusions list includes the folders C:Program FilesWorkgroupMail and C:WindowsTemp (or C:Temp or C:WinntTemp or C:Documents and SettingsUserLocal SettingsTemp etc. depending on your Operating system). To determine exactly what temp folder is used, look in each folder in turn and send a message through WorkgroupMail. Look out for the temporary creation of mail files of the form tmpxxx.tmp. Check that *.tmp and *.msg are not listed as exclusions. Please note: if WorkgroupMail will be running as an executable when logged in by different users on Windows NT, 2000 or XP then the Temp folder may vary depending on which user is logged in and therefore which user profile is being used. In this case specify all temp folders for exclusion.

Configure the actions of your anti-virus product. Choose the option to ‘Try to repair and then quarantine if unsuccessful’ (or similar) for both auto scanning and manual scanning.

Click View | Summary in the Administrator program to be sure that the Virus Protection plug-in has been imported and is correctly licenced (either purchased or within evaluation). If necessary, import one instance of the Virus Protection plug-in into Workgroupmail. Note that on installations using both the Virus Protection plug-in and the Content Filtering plug-in together, the two functions are combined within the Content Filtering for added flexibilty

Virus Protection with Content Filtering
Edit the properties for the Content Filtering (by double clicking it) and select the Anti-Virus Engine tab. In the product selector box select select User-Defined…. Configure as for ‘Virus Protection without Content Filtering’, below. Then check that you have rules configured to take the necessary action when a virus is detected Click here for more information.

Virus Protection without Content Filtering
Edit the properties of the Virus Checker (by double clicking it) and select User-Defined… in the product selector box. In the ‘Path’ box of the User Defined Settings window, browse to the command line executable for the virus checker (or enter the filename, including its full path). Refer to the anti-virus product documentation to determine this file name and location. (Note that some products may require a filename and path in short filename format). In the arguments box, enter the optional command line arguments necessary for your anti-virus product. Again, refer to your anti-virus product documentation to determine which of these you need to specify. (The default arguments for Norton Anti-Virus (Corporate Edition) are /DZ=4 /ALL /NOSUBDIR /QUIET /Z /C /D &ltShortFile&gt). The anti-virus must be configured to scan a single file and this is specified by either the &ltFile&gt (or &ltShortFile&gt) argument for short filename format or by the &ltLongFile&gt argument for long filename format.
(Note that WorkgroupMail will substitute ‘File’, ‘ShortFile’ or ‘LongFile’ with the path and name of the file to be scanned, in the format specified). The setting ‘Extract attachments and check individually’ is

Was this article helpful?

Related Articles