{"id":570,"date":"2012-01-31T04:30:05","date_gmt":"2012-01-31T10:30:05","guid":{"rendered":"http:\/\/blog.supportpro.com\/?p=570"},"modified":"2019-10-30T05:51:07","modified_gmt":"2019-10-30T11:51:07","slug":"issue-with-removing-an-email-account-from-cpanel","status":"publish","type":"post","link":"https:\/\/www.supportpro.com\/blog\/issue-with-removing-an-email-account-from-cpanel\/","title":{"rendered":"Issue with removing an email account from cPanel"},"content":{"rendered":"<div style=\"background-color: transparent;\">Sometime you will get the following error message while trying to delete an email account from your cpanel.<\/div>\n<div style=\"background-color: transparent;\">=================================================<\/div>\n<div style=\"background-color: transparent;\"><strong id=\"internal-source-marker_0.9740703389979899\" style=\"font-weight: normal;\"><span style=\"font-size: 15px; font-family: Arial; color: #000000; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;\">The e-mail address postmaster@domain.com deleted successfully.<\/span><br \/>\n<span style=\"font-size: 15px; font-family: Arial; color: #000000; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;\"> Sorry, you do not have access to the domain<\/span><a href=\"http:\/\/mydomain.com\/\"> <span style=\"font-size: 15px; font-family: Arial; color: #000099; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; vertical-align: baseline; white-space: pre-wrap; text-decoration: underline;\">domain.com<\/span><\/a><br \/>\n=================================================<br \/>\n<\/strong><\/div>\n<div style=\"background-color: transparent;\">This mainly occur in two cases.<\/div>\n<div style=\"background-color: transparent;\">1. when one domain is changed from add-on domain to main domain or vice-versa.<\/div>\n<div style=\"background-color: transparent;\">2. Domain is moved to another users account.<\/div>\n<div style=\"background-color: transparent;\">In this case you need to remove the email account from the existing account.<\/div>\n<div style=\"background-color: transparent;\"><strong id=\"internal-source-marker_0.9740703389979899\" style=\"font-weight: normal;\"><br \/>\n<span style=\"font-size: 15px; font-family: Arial; color: #000000; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;\">Steps:-<\/span><\/strong><\/div>\n<div style=\"background-color: transparent;\">\n<p><strong id=\"internal-source-marker_0.9740703389979899\" style=\"font-weight: normal;\"><span style=\"font-size: 15px; font-family: Arial; color: #000000; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;\">1. Remove the entries from the following files. <\/span><\/strong><\/p>\n<p><span style=\"font-size: 15px; font-family: Arial; color: #000000; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;\"> \/home\/user\/etc\/domainname.tld\/passwd<\/span><br \/>\n<span style=\"font-size: 15px; font-family: Arial; color: #000000; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;\"> \/home\/user\/etc\/domainname.tld\/shadow<\/span><br \/>\n<span style=\"font-size: 15px; font-family: Arial; color: #000000; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;\"> \/home\/user\/.cpanel\/email_accounts.yaml<\/span><\/p>\n<p><strong id=\"internal-source-marker_0.9740703389979899\" style=\"font-weight: normal;\"><span style=\"font-size: 15px; font-family: Arial; color: #000000; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;\">2. Remove the directory<\/span><\/strong><\/p>\n<\/div>\n<div style=\"background-color: transparent;\"><strong id=\"internal-source-marker_0.9740703389979899\" style=\"font-weight: normal;\"><br \/>\n<span style=\"font-size: 15px; font-family: Arial; color: #000000; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;\"> \/home\/user\/mail\/<\/span><a href=\"http:\/\/mydomain.com\/\"><span style=\"font-size: 15px; font-family: Arial; color: #000099; background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; vertical-align: baseline; white-space: pre-wrap; text-decoration: underline;\">domain.com<\/span><\/a><br \/>\n<\/strong><\/div>\n<div style=\"background-color: transparent;\">Where &#8216;user&#8217; is the account where the email address of &#8216;domain.com&#8217; exist.<\/div>\n<p>If you require help, c<a href=\"https:\/\/www.supportpro.com\/requestquote.php\">ontact SupportPRO Server Admin<\/a><\/p>\n<p style=\"text-align: center;\"><!--HubSpot Call-to-Action Code --><span id=\"hs-cta-wrapper-9d590242-d641-4383-94b4-8cfd62f0af6b\" class=\"hs-cta-wrapper\"><span id=\"hs-cta-9d590242-d641-4383-94b4-8cfd62f0af6b\" class=\"hs-cta-node hs-cta-9d590242-d641-4383-94b4-8cfd62f0af6b\"><!-- [if lte IE 8]><\/p>\n\n\n\n\n\n<div id=\"hs-cta-ie-element\"><\/div>\n\n\n<![endif]--><a href=\"https:\/\/www.supportpro.com\/freecheckup.php\"><img decoding=\"async\" id=\"hs-cta-img-9d590242-d641-4383-94b4-8cfd62f0af6b\" class=\"hs-cta-img\" style=\"border-width: 0px;\" src=\"https:\/\/no-cache.hubspot.com\/cta\/default\/2725694\/9d590242-d641-4383-94b4-8cfd62f0af6b.png\" alt=\"Server not running properly? Get A FREE Server Checkup By Expert Server Admins - $125 Value\" \/><\/a><\/span><script charset=\"utf-8\" src=\"https:\/\/js.hscta.net\/cta\/current.js\"><\/script><script type=\"text\/javascript\"> hbspt.cta.load(2725694, '9d590242-d641-4383-94b4-8cfd62f0af6b', {}); <\/script><\/span><!-- end HubSpot Call-to-Action Code --><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sometime you will get the following error message while trying to delete an email account from your cpanel. ================================================= The e-mail address postmaster@domain.com deleted successfully. Sorry, you do not have&hellip;<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[3],"tags":[],"class_list":["post-570","post","type-post","status-publish","format-standard","hentry","category-technical-articles"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/570","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/comments?post=570"}],"version-history":[{"count":5,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/570\/revisions"}],"predecessor-version":[{"id":4457,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/570\/revisions\/4457"}],"wp:attachment":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/media?parent=570"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/categories?post=570"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/tags?post=570"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}