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)
| Name | Friendly Name | Description | Type | Default Value | Required |
|---|---|---|---|---|---|
| class | Class | The class name the service manager loads. To load: SpamAssassin Filter use: class xms.filter.data.SpamAssassinFilter | Class Name A fully qualified class name for a class that is part of the java classpath. | xms.filter.data.SpamAssassinFilter | Yes |
| primaryhosts | Primary hosts | List of primary hosts to try. Example:'server1,server2:738,server3' | String Any character combination is valid. | localhost:783 | No |
| secondaryhosts | Secondary hosts | List of secondary hosts to try. Example:'server1,server2:738,server3 | String Any character combination is valid. | none | No |
| rechecktime | Recheck Time | How often in milliseconds to retest hosts marked as down | Integer Value must be an integer between -2147483648 and 2147483647 | 20000 | No |
| friendly | Friendly IPs | Source IP Addresses that will be skipped by the SpamAssassin filter | String Any character combination is valid. | none | No |
| ignore | Ignore Addresses | Destination email addresses that will not be scanned | String Any character combination is valid. | none | No |
| rejectlimit | Reject Limit | Email 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 2147483647 | 0 | No |
| discardlimit | Discard Limit | Email 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 2147483647 | 0 | No |
| timeout | Connection timeout | How long to wait for a response before the server is considered down | Integer Value must be an integer between -2147483648 and 2147483647 | 20000 | No |
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" />