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)
| Name | Description | Type | Default Value | Required |
|---|---|---|---|---|
| discardLimit | Email with a spam rating at or over this amount will be discarded (0 to never discard) | int any integer | 0 | no |
| friendly | Source IP Addresses that will be skipped by the SpamAssassin filter | String any character combination | none | no |
| ignore | Destination email addresses that will not be scanned | String any character combination | none | no |
| primaryHosts | List of primary hosts to try. Example:'server1,server2:738,server3' | String any character combination | localhost:783 | no |
| recheckTime | How often in ms to retest hosts marked as down | int any integer | none | no |
| rejectLimit | Email with a spam rating at or over this amount will be rejected (0 to never reject) | int any integer | 0 | no |
| secondaryHosts | List of secondary hosts to try. Example:'server1,server2:738,server3 | String any character combination | none | no |
| timeout | How long to wait in ms for a response before the server is considered down | int any integer | 20000 | no |
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" />