# Sophos Anti-Virus Filter

## Contents
Overview Prerequisites General Settings Sophos Configuration Settings

## Overview
The Sophos Anti-Virus filter uses the Sophos Anti-Virus Interface (SAVI) to screen messages for viruses. You can configure the behavior of the Sophos library using configuration options available in the Sophos Anti-Virus filter. Important Note: Because the Enterprise Gateway does not ship with any Sophos binaries, the Enterprise Gateway must be installed on the same machine as the Sophos AV distribution. On Linux or Solaris, before starting the Enterprise Gateway, ensure that the Sophos AV `lib` directory is on your `LD_LIBRARY_PATH`. Similarly, on Windows, this directory must be on the system `PATH>` (the Sophos installation automatically puts this directory on the system path).
## Prerequisites
Sophos integration requires the Sophos SAV Interface version 4.8. Enterprise Gateway When adding third-party binaries to the Enterprise Gateway, you must perform the following steps: Add the binary files as follows: Add `.jar` files to the `InstallDir/ext/lib` directory. Add `.dll` files to the `InstallDir\win32\lib` directory. Add `.so` files to the `InstallDir/platform/lib` directory. Restart the Enterprise Gateway. Policy Studio When adding third-party binaries to the Policy Studio, you must perform the following steps: Add `.jar` files to the `InstallDir/plugins/thirdparty.runtime.dependencies_6.0.3` directory. Restart the Policy Studio.
## General Settings
Specify the following general setting: Name: Enter an appropriate name for this filter.
## Sophos Configuration Settings
All SAVI configuration options take the form of a name-value pair. Each name is unique and its corresponding value controls specific behavior in the Sophos anti-virus library (for example, decompress `.zip` files to examine their content). You can specify these SAVI configuration settings in the Sophos configuration settings section: Name: The Sophos Anti-Virus filter ships with two sets of default configuration settings: one for UNIX-based platforms, and the other for Windows platforms. Select the appropriate configuration settings for your target platform from the drop-down list. You can create a new set of configuration options by clicking the Add button, and adding the name-value pairs to the table provided. For convenience, you can base a new configuration set on a previously existing one, including the default Windows and UNIX sets. In this way, you can create a new configuration set that inherits from the default set, and then adds more configuration options. To add a new configuration name-value pair, click the Add button under the table, and configure the following fields in the dialog: Name: Enter a name for the SAVI configuration option. This name must be available in the version of the SAVI library that is used by the Enterprise Gateway. Please refer to your SAVI documentation for a complete reference on available options. Value: Enter an appropriate value for the SAVI configuration option entered above. Please refer to your SAVI documentation for more information on acceptable values for this configuration option. Type: Select the appropriate type of this configuration option from the drop-down list. Please refer your SAVI documentation for more information on the type of the value for this configuration option.