The server's mail settings; needs server.manage
Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication
/api/v1/tenants/{tid}/servers/{id}/mail-settingsThe server's mail settings; needs server.manage (ADR 0073, 0074)
Authentication: session cookie __Host-panel_session (contract default; see Authentication).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required | |
id | path | string | required |
Responses
200 OK
Content type: application/json
server_idstring requiredenabledboolean requiredhoststring requiredportinteger requiredusernamestring requiredtlsstring requiredAllowed values:"""starttls""ssl""none"
spam_filterboolean requiredantivirusboolean requiredrecipients_per_hourinteger requiredMailEnable's server-wide cap per signed-in mailbox; 0 none
updated_atstring (date-time) requiredpassword_setboolean requiredA smarthost password is kept (sealed); it is never returned
enginestring requiredWhat the server's mail engine does with each feature (ADR 0072)
enginestring requiredAllowed values:"""mailenable""smartermail"statusstring requiredAllowed values:"experimental""limited""not_supported"reasonstring optionalA code saying why, for the UI to explain
Fields of MailFeature are shown above.
Fields of MailFeature are shown above.
Fields of MailFeature are shown above.
Fields of MailFeature are shown above.
Fields of MailFeature are shown above.
Fields of MailFeature are shown above.
Fields of MailFeature are shown above.
Fields of MailFeature are shown above.
Fields of MailFeature are shown above.
appliedobject | null requiredWhat the engine said on the last apply
enginestring optionalFields of MailFeature are shown above.
Fields of MailFeature are shown above.
Fields of MailFeature are shown above.
detailstring optional
Example
{
"server_id": "string",
"smarthost": {
"enabled": true,
"host": "string",
"port": 0,
"username": "string",
"tls": ""
},
"spam_filter": true,
"antivirus": true,
"recipients_per_hour": 0,
"updated_at": "2026-01-01T00:00:00Z",
"password_set": true,
"engine": "string",
"features": {
"engine": "",
"autoresponder": {
"status": "experimental",
"reason": "string"
},
"catch_all": {
"status": "experimental",
"reason": "string"
},
"out_limit_mailbox": {
"status": "experimental",
"reason": "string"
},
"out_limit_domain": {
"status": "experimental",
"reason": "string"
},
"spam_filter": {
"status": "experimental",
"reason": "string"
},
"spam_per_domain": {
"status": "experimental",
"reason": "string"
},
"antivirus": {
"status": "experimental",
"reason": "string"
},
"queue": {
"status": "experimental",
"reason": "string"
},
"smarthost": {
"status": "experimental",
"reason": "string"
},
"lists": {
"status": "experimental",
"reason": "string"
}
},
"applied": {
"engine": "string",
"spam_filter": {
"status": "experimental",
"reason": "string"
},
"antivirus": {
"status": "experimental",
"reason": "string"
},
"smarthost": {
"status": "experimental",
"reason": "string"
},
"detail": "string"
}
}default Error
Content type: application/json
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required