Account was renamed from abc.com to xyz.com. After renaming, when trying to delete an old email address ( [email protected]), following error occurs :
“The e-mail account [email protected] was successfully deleted.
Sorry, you do not have access to the domain abc.com”
Check the file /home/user/.cpanel/email_accounts.yaml and remove any entries pertaining to the old domain. This should fix the issue!