Disable spam box filtering auto-delete

This function disables the Apache SpamAssassin™ auto-delete spam feature.

Important:

When you disable the Receive Mail role, the system disables this function.

SecurityBasicAuth
Responses
200

HTTP Request was successful.

Response Schema: application/json
apiversion
integer

The version of the API.

func
string

The name of the method called.

module
string

The name of the module called.

object
get/Email/disable_spam_autodelete
Request samples
uapi --output=jsonpretty \
  --user=username \
  Email \
  disable_spam_autodelete
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "disable_spam_autodelete",
  • "module": "Email",
  • "result": {
    • "data": {
      • "spam_auto_delete": 0
      },
    • "errors": null,
    • "messages": null,
    • "metadata": { },
    • "status": 1,
    • "warnings": null
    }
}