API referenceSections

MailPolicyInput

MailPolicyInput object
  • catch_all string required
    Allowed values: "off" "mailbox" "reject"
  • catch_all_mailbox string optional

    A mailbox of the domain, before the @

  • spam_threshold integer required

    0 keeps the server's spam levels

    • minimum 0
    • maximum 100
  • spam_action string required
    Allowed values: "" "tag" "junk"

Used by

PUT/api/v1/tenants/{tid}/mail/domains/{did}/policySet a domain's catch-all and spam policy; MAIL_NOT_SUPPORTED where the engine has none (ADR 0072, 0073)