Name

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)

NameDescriptionTypeDefault ValueRequired
friendlySource IP Addresses that will not be virus scannedString any character combinationnoneno
ignoreDestination email addresses that will not be virus scannedString any character combinationnoneno
ignoresDestination email addresses that will not be virus scannedString any character combinationnoneno
primaryHostsList of primary hosts to try in the format of host:port, seperated by commasString any character combinationlocalhost:3310no
recheckTimeInterval in ms to retest hosts marked as downint any integer30000no
scanPlainTurn off if you dont want to bother scanning messages with "Content-Type: text/plain"boolean true or falsetrueno
secondaryHostsList of secondary hosts to try in the format of host:port, seperated by commasString any character combination no
timeoutHow long to wait for a response before the server is considered downint positive integer15000no

Service Dependencies

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" />