SmarterMail 5.x Help
This documentation is for a product that is no longer supported by SmarterTools.

Anti-Virus Administration

From this page you can enable SmarterMail to work with virus scanners that support a quarantine directory. SmarterMail has the ability to check the quarantine directory and respond to users who attempted to send an email containing a virus.

To get started, click the Security button on the main toolbar, then select Anti-Virus Administration from the Email Protection folder tree view.


Enable ClamAV - Enable this to use ClamAV anti-virus scanning.

Enable Real-Time AV - Enable this to use Real-Time AV

Enable Command-Line AV - Enable this to use a command line virus scanner.


Clam AntiVirus is a 3rd party open source anti-virus toolkit, designed especially for scanning e-mail on mail gateways. For more information on ClamAV, visit:

IP Address - The IP address of the ClamAV server to use.

Port - The Port that the ClamAV server is listening on.

Timeout (in seconds) - System Admins can enter the maximum number of seconds they want to wait before moving on. (Default is 10 seconds)

Failures Before Restart - System Admins can enter the maximum number of timeouts allowed before ClamAV is restarted. (Default is 5)

Virus Definitions - Displays when the virus definitions were last updated. The definitions are updated whenever the service starts and every 6 hours thereafter. Click the Update link to do an immediate update.

Real-Time AV

Quarantine Directory - Enter the full path to the quarantine directory set for the server.

Virus Action - Choose the action to be taken when an email contains a virus. The available options are shown below.

  • Delete (Recommended) - This option will enable the SmarterMail service to delete any associated files attached to the message from the spool directory. This does not take any action on the quarantine directory.
  • Inform Sender - This option will inform the 'From' address that a message was receive by the server, and because a virus was found in the message, it did not reach the intended recipient. Note: With some of the more recent viruses, this action becomes less useful, as many viruses now spoof the 'from' email address.

Command Line AV

Command Line - Enter the command that you want to execute. %FILEPATH will be replaced with the path to the file to be scanned.