Repair misconfigured email settings

This function fixes a user's misconfigured email settings. This includes any misconfigured email file and directory ownership and permissions.

Authorizations:
query Parameters
username
required
string

The cPanel account's username.

Example: username=username

Responses

Response Schema: application/json
object

Request samples

whmapi1 --output=jsonpretty \
  normalize_user_email_configuration \
  username='username'

Response samples

Content type
application/json
{
  • "metadata": {
    • "command": "normalize_user_email_configuration",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}