How to delete/clean of Zimbra account from CLI

You can delete/clean mail's of user account when Hard drive (/opt) space get short . You may also take mailbox backup of these account before deleting external drive.

Login from Zimbra user

# su - zimbra
$ zmmailbox -z -m user@example.com emptyFolder /Inbox

For Junk Mail
$ zmmailbox -z -m user@example.com emptyFolder /Junk

You can also delete admin account mail's.

$ zmmailbox -z -m admin@example.com emptyFolder /Inbox

Comments

Popular posts from this blog

Disabling Zimbra's AntiSpam, Amavis and AntiVirus filtering

Cambium cnPilot E400/E410/E500 Configuration Tutorial

Error "Unable to retrive Zimbra GPG key for package validation"