deletemailbox: Permission denied

Having to disable some email accounts using cyradm, I’ve issued the command dm user.old_account. The response was deletemailbox: Permission denied. It seems that for security reasons the admin users don’t have permission to delete an account.

Assigning “d” access level (Delete a message and/or the mailbox itself) still doesn’t fix the problem. You have assign “c” (Create a new mailbox below the top-level mailbox) access level in order to delete an account. Here is the commands you need to delete the account “old_account”:

cyradm -u cyrus localhost
sam user.old_account cyrus c
dm user.old_account

Tags: ,

« Anterior:

Leave a Reply