How to delete domain in Zimbra server by CLI.

Problem : I cannot delete some domain in my Zimbra server.

Solution : 

1
2
3
4
5
6
7
8
9
10
$ zmprov dd domain.com
ERROR: account.DOMAIN_NOT_EMPTY (domain not empty: domain.com)
$ zmprov da <a href="mailto:wiki@domain.com">wiki@domain.com</a>
ERROR: service.INVALID_REQUEST (invalid request: Can not delete account
<a href="mailto:wiki@domain.com">wiki@domain.com</a> because it is a domain-level wiki account for domain domain.com.)
$ zmprov gd domain.com | grep Notebook
zimbraNotebookAccount: <a href="mailto:wiki@domain.com">wiki@domain.com</a>
$ zmprov md domain.com zimbraNotebookAccount &quot;&quot;
$ zmprov da <a href="mailto:wiki@domain.com">wiki@domain.com</a>
$ zmprov dd domain.com

Related Posts

This entry was posted in zimbra and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

*


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">