Name

filter

Spam Assassin Filter — Sends email to a spamd server for checking

<filter class="xms.filter.data.SpamAssassinFilter" />

Table 28. Attributes for filter tag (for xms.filter.data.SpamAssassinFilter)

NameDescriptionTypeDefault ValueRequired
discardLimitEmail with a spam rating at or over this amount will be discarded (0 to never discard)int any integer0no
friendlySource IP Addresses that will be skipped by the SpamAssassin filterString any character combinationnoneno
ignoreDestination email addresses that will not be scannedString any character combinationnoneno
primaryHostsList of primary hosts to try. Example:'server1,server2:738,server3'String any character combinationlocalhost:783no
recheckTimeHow often in ms to retest hosts marked as downint any integernoneno
rejectLimitEmail with a spam rating at or over this amount will be rejected (0 to never reject)int any integer0no
secondaryHostsList of secondary hosts to try. Example:'server1,server2:738,server3String any character combinationnoneno
timeoutHow long to wait in ms for a response before the server is considered downint any integer20000no

Service Dependencies

This tag depends on the following services (or a service that extends or implements these classes)

Example 33. Example configuration for Spam Assassin Filter

Required attributes are marked with a bold typeface

<filter class="xms.filter.data.SpamAssassinFilter"
      discardLimit="discardLimit"
      friendly="friendly"
      ignore="ignore"
      primaryHosts="primaryHosts"
      recheckTime="recheckTime"
      rejectLimit="rejectLimit"
      secondaryHosts="secondaryHosts"
      timeout="timeout" />