This function lists the Apache SpamAssassin™ settings for the account.
Note:
Additional customizations may appear in the returns. Form more information read the Apache SpamAssassin™ configuration file documentation.
uapi --output=jsonpretty \ --user=username \ SpamAssassin \ get_user_preferences
{- "apiversion": 3,
- "func": "get_user_preferences",
- "module": "SpamAssassin",
- "result": {
- "data": {
- "blacklist_from": [
- "username2@example.com"
], - "required_score": [
- 5.1
], - "score": [
- "ACT_NOW_CAPS 1"
], - "whitelist_from": [
- "username@example.com"
]
}, - "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}