Search Our Database
How to unsuspend a domain In Zimbra through SSH
Introduction
This guide will walk you through the steps to unsuspend a domain in Zimbra using SSH. If a domain has been suspended for any reason (e.g., exceeding email quota or administrative suspension), the following steps will help restore its functionality.
Prerequisites
- Root access to the Zimbra server via SSH.
- The domain name that you need to unsuspend.
If you get the following error when attempting to change the domain’s password:
ERROR: service.PERM_DENIED (permission denied: domain is suspended)
Step-by-Step Guide
1. Open your terminal or SSH client, and log in to your Zimbra server using the following command:
ssh root@your-remote-server-ip
2. Once logged in, switch to the Zimbra use to gain access to Zimbra’s administrative commands:
su - zimbra
3. To unsuspend the domain, run the following command:
zmprov -l md yourdomain.com zimbraDomainStatus active
Replace yourdomain.com with the actual domain name.
4. Restart the Zimbra service by running the following command:
zmmailboxdctl restart
5. After restarting the Zimbra service, verify that the domain status has been updated to ‘active’ by running:
zmprov gd yourdomain.com | grep zimbraDomainStatus
6. The output should now show:
zimbraDomainStatus: active
Conclusion
You have successfully unsuspended the domain in Zimbra through SSH. The domain should now function normally, allowing email traffic and services to resume.
Article posted on 17 April 2020.