Applicable to:
- Plesk for Linux
Symptoms
-
When clicking on Mail Settings under a domain for a specific subscription the following message appears:
Warning: Permission Denied
OR
The mail tab is missing in the subscription menu at Plesk > Subscriptions > example.com.
OR
Email menus are not available for the customer's domain.
-
The mail service for the subscription is disabled:
# plesk bin subscription -i example.com | grep "Mail service"
Mail service: Off -
Enabling mail service fails:
# plesk bin subscription -u example.com -mail_service true
mailmng-outgoing failed: ERROR:outgoing:UNIQUE constraint failed: domains.name -
Unable to create a domain alias with the error message in Plesk:
PLESK_ERROR: mailmng-outgoing failed: Error: mailmng-outgoing failed: ERROR:outgoing:UNIQUE constraint failed: domain_aliases.name"
Cause
The outgoing mail control database already contains records about the subscription with the same name.
Resolution
-
Connect to the server via SSH.
-
Remove the subscription example.com from the outgoing mail control database:
# /usr/local/psa/admin/sbin/mailmng-outgoing --remove-subscription --main-domain-name=example.com
-
Activate the mail service for the subscription:
# plesk bin subscription -u example.com -mail_service true
SUCCESS: Update of domain 'example.com' completed.
Comments
0 comments
Please sign in to leave a comment.