API referenceSections

MailServerSettingsInput

MailServerSettingsInput object
  • smarthost object required
    • enabled boolean required
    • host string optional
    • port integer optional
    • username string optional
    • password string optional write-only

      Only to change it; empty or absent keeps the sealed one

    • tls string optional
      Allowed values: "" "starttls" "ssl" "none"
  • spam_filter boolean required
  • antivirus boolean required
  • recipients_per_hour integer required
    • minimum 0
    • maximum 1000000

Used by

PUT/api/v1/tenants/{tid}/servers/{id}/mail-settingsSet the smarthost, spam and virus filtering and the server-wide cap; needs server.manage