Mail
Mail Server Settings

Rebuild mail SNI configuration files

This function rebuilds the mail SNI configuration files.

get/rebuild_mail_sni_config

Request

  • Base URL
    https://whm-server.tld:2087/json-api
  • Auth
    HTTP basic

Query parameters

reload_dovecot0 | 1
Example:1

Whether to reload the Dovecot service after the system rebuilds the configuration files.

  • 1 - Reload Dovecot.
  • 0 - Do not reload Dovecot.

Response

HTTP Request was successful.

Example response

{
  "data": {
    "configs_built": [
      "/etc/dovecot/sni.conf"
    ],
    "success": 1
  },
  "metadata": {
    "command": "rebuild_mail_sni_config",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}

Changes

No recorded changes to this operation across all 5 revisions of this API.