filter
Clam AV Filter — Scans emails for viruses using clamd<filter class="xms.filter.data.ClamAVFilter" … />
Table 12. Attributes for filter tag (for xms.filter.data.ClamAVFilter)
| Name | Description | Type | Default Value | Required |
|---|---|---|---|---|
| friendly | Source IP Addresses that will not be virus scanned | String any character combination | none | no |
| ignore | Destination email addresses that will not be virus scanned | String any character combination | none | no |
| ignores | Destination email addresses that will not be virus scanned | String any character combination | none | no |
| primaryHosts | List of primary hosts to try in the format of host:port, seperated by commas | String any character combination | localhost:3310 | no |
| recheckTime | Interval in ms to retest hosts marked as down | int any integer | 30000 | no |
| scanPlain | Turn off if you dont want to bother scanning messages with "Content-Type: text/plain" | boolean true or false | true | no |
| secondaryHosts | List of secondary hosts to try in the format of host:port, seperated by commas | String any character combination | no | |
| timeout | How long to wait for a response before the server is considered down | int positive integer | 15000 | no |
This tag depends on the following services (or a service that extends or implements these classes)
Example 13. Example configuration for Clam AV Filter
Required attributes are marked with a bold typeface
<filter class="xms.filter.data.ClamAVFilter"
friendly="friendly"
ignore="ignore"
ignores="ignores"
primaryHosts="primaryHosts"
recheckTime="recheckTime"
scanPlain="scanPlain"
secondaryHosts="secondaryHosts"
timeout="timeout" />