Name

filter

SpamAssassin Filter — Sends email to a spamd server for checking

<filter/>

Name:filter
Required by Parent Tag:No
Multiple Tag Instances supported:Yes

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

NameFriendly NameDescriptionTypeDefault ValueRequired
classClassThe class name the service manager loads. To load: SpamAssassin Filter use: class xms.filter.data.SpamAssassinFilterClass Name A fully qualified class name for a class that is part of the java classpath.xms.filter.data.SpamAssassinFilterYes
primaryhostsPrimary hostsList of primary hosts to try. Example:'server1,server2:738,server3'String Any character combination is valid.localhost:783No
secondaryhostsSecondary hostsList of secondary hosts to try. Example:'server1,server2:738,server3String Any character combination is valid.noneNo
rechecktimeRecheck TimeHow often in milliseconds to retest hosts marked as downInteger Value must be an integer between -2147483648 and 214748364720000No
friendlyFriendly IPsSource IP Addresses that will be skipped by the SpamAssassin filterString Any character combination is valid.noneNo
ignoreIgnore AddressesDestination email addresses that will not be scannedString Any character combination is valid.noneNo
rejectlimitReject LimitEmail with a spam rating at or over this amount will be rejected (0 to never reject)Integer Value must be an integer between -2147483648 and 21474836470No
discardlimitDiscard LimitEmail with a spam rating at or over this amount will be discarded (0 to never discard)Integer Value must be an integer between -2147483648 and 21474836470No
timeoutConnection timeoutHow long to wait for a response before the server is considered downInteger Value must be an integer between -2147483648 and 214748364720000No

Service Class Dependencies

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

Example 24. Example configuration for SpamAssassin Filter

Required attributes are marked with a bold typeface

<filter class="xms.filter.data.SpamAssassinFilter"
  primaryhosts="localhost:783"
  secondaryhosts="secondaryhosts"
  rechecktime="20000"
  friendly="friendly"
  ignore="ignore"
  rejectlimit="0"
  discardlimit="0"
  timeout="20000" />