Start SNI configuration files rebuild

This function rebuilds the SNI configuration files.

Note:

  • You must run this function after you change the SNI status through the UAPI's enable_mail_sni or disable_mail_sni functions.
  • Mail SNI is always enabled.
    • Functions that enable Mail SNI succeed with a warning that Mail SNI is always enabled. Functions that disable Mail SNI fail and make no changes.
    • Functions that disable Mail SNI will fail and make no changes.

Important:

When you disable the Calendars and Contacts, Receive Mail, Web Disk, Webmail, and Web Server roles, the system disables this function.

SecurityBasicAuth
Request
query Parameters
reload_dovecot
integer
Default: 1

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

  • 1 - Reload Dovecot.
  • 0 - Do not reload Dovecot.
Enum: 0 1
Example: reload_dovecot=1
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/SSL/rebuild_mail_sni_config
Request samples
uapi --output=jsonpretty \
  --user=username \
  SSL \
  rebuild_mail_sni_config
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "rebuild_mail_sni_config",
  • "module": "SSL",
  • "result": {
    • "data": {
      • "success": 1
      },
    • "errors": null,
    • "messages": null,
    • "metadata": { },
    • "status": 1,
    • "warnings": null
    }
}