Cpanel does not show created email accounts

From CPanelDirect
Jump to: navigation, search


Page Is Unavailable Due To Site Maintenance, Please Visit Reserve Copy Page


CLICK HERE


The problem I ran into is cpanel did not show the created email account in the Email Accounts section of cpanel. The account was created in $HOME/etc/domain.com/etc/passwd and shadow. After running

strace -vvFf -s 4096 -o /root/strace.cpsrvd -p `cat /var/run/cpsrvd.pid`

And seeing what files were opened on the page I came to

5668  stat64("/home/flyingdu/.cpanel/email_accounts.yaml",
5668  stat64("/home/flyingdu/.cpanel/email_accounts.cache",

I removed the two files in the the .cpanel folder of the user - file email_accounts.yaml and file email_accounts.cache. Once the cpanel page was reloaded the email accounts showed.

Notes

http://forum.configserver.com/showthread.php?t=652