- Home
- API reference
- API documentation (JSON/XML)
- Objects
Spam policy object
Function
The SpamPolicy object represents the policy for handling spam.
Structure
| Keywords JSON | Keywords XML | Occurs | Type | Format | Description |
|---|---|---|---|---|---|
| modifySubject | modify_subject | 0 - 1 | boolean | Setting for the flag in the subject:
Default= false For XML, 0 (false) and 1 (true) can also be used. | |
| tagHeader | tag_header | 0 - 1 | number | double | Enter a score. If an incoming email reaches this value, the email will be marked as spam in the header. (Header X-Spam Status and X-Spam Level). Recommendation: Minimum: -999.9 |
| spam | spam | 0 - 1 | number | double | Enter a score from which an email should be classified as spam. The header X-Spam-Flag will be added to emails that reach this score. Minimum: -999.9 |
| kill | kill | 0 - 1 | number | double | Enter a score at what value an email should be quarantined for the selected task Note that the value of the kill score must be higher than the spam score. |
| quarantineDigestIntervall | quarantine_digest_interval | 0 - 1 | integer | Specify how long an email should be kept in quarantine.
|