{"id":441,"date":"2009-12-27T06:00:03","date_gmt":"2009-12-27T10:00:03","guid":{"rendered":"http:\/\/linuxhostingsupport.net\/blog\/?p=441"},"modified":"2013-03-20T08:42:25","modified_gmt":"2013-03-20T12:42:25","slug":"unable-to-delete-an-email-account-from-cpanel","status":"publish","type":"post","link":"https:\/\/linuxhostingsupport.net\/blog\/unable-to-delete-an-email-account-from-cpanel","title":{"rendered":"Unable to delete an email account from cPanel"},"content":{"rendered":"<blockquote><p><span style=\"color: #0000ff;\"><strong>The e-mail address postmaster@mydomain.com deleted successfully.<br \/>\nSorry, you do not have access to the domain mydomain.com<\/strong><\/span><\/p><\/blockquote>\n<p>The error message is displayed when you delete an email account of a domain from cPanel &gt;&gt; &#8216;Email Accounts&#8217; that is either shifted under another users account OR usually happens when a domain is swapped from add-on domain to main domain OR vice-versa. You cannot delete an email account from cPanel, and in this case, you have to manually remove the email account entries for domain from the existing account.<\/p>\n<p>The files you need to remove the entries from are<\/p>\n<blockquote><p><span style=\"color: #0000ff;\"><strong>\/home\/user\/etc\/domainname.tld\/passwd<br \/>\n\/home\/user\/etc\/domainname.tld\/shadow<br \/>\n\/home\/user\/.cpanel\/email_accounts.yaml<\/strong><\/span><\/p><\/blockquote>\n<p>The directory that need to be removed is<\/p>\n<blockquote><p><span style=\"color: #0000ff;\"><strong>\/home\/user\/mail\/mydomain.com<\/strong><\/span><\/p><\/blockquote>\n<p>where, <strong>&#8216;user&#8217; is the one under who&#8217;s account the email address of &#8216;mydomain.com&#8217; exist.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The e-mail address postmaster@mydomain.com deleted successfully.<br \/>\nSorry, you do not have access to the domain mydomain.com<br \/>\nThe error message is displayed when you delete an email account of a domain from cPanel &gt;&gt; &#8216;Email Accounts&#8217; that is either shifted under another users account OR usually happens when a domain is swapped from add-on domain to main domain OR vice-versa. You cannot delete an email account from cPanel, and in this case, you have to manually remove the email account entries for domain from the existing account.<br \/>\nThe files you need to [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[979,612,611,610,609],"_links":{"self":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/441"}],"collection":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/comments?post=441"}],"version-history":[{"count":5,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/441\/revisions"}],"predecessor-version":[{"id":2196,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/441\/revisions\/2196"}],"wp:attachment":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/media?parent=441"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/categories?post=441"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/tags?post=441"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}