Restoring the mail folder question

Leonaro

Registered
Apr 3, 2017
1
0
1
colombia
cPanel Access Level
Root Administrator
Hello everyone.

I'm getting thousands of twitter emails to my domain, delete the folder and now nothing comes up and I get this error

puu.sh/v8qEj/16b0c98406.png

How can I restore the folder and get the mail again?

Thanks
 

24x7server

Well-Known Member
Apr 17, 2013
1,911
96
78
India
cPanel Access Level
Root Administrator
Twitter
Hi,

Probably deleting the folder caused it to break. You should not delete the folders that are created at the time of cPanel email account creation. You should probably create the folder back with the same set of permission that the previous one had to get it working..
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,213
363
Hello,

Try re-creating the email folder with the same permissions and ownership values. Additionally, once you do that, run the following command:

Code:
/scripts/mailperm $username
Let us know if this helps.

Thank you.