Hello,
Do you have root SSH access to the machine in question? If so, can you please try running the following command there:
Code:
/scripts/whoowns domain.com
Here please replace
domain.com with the domain name you are using for the email accounts.
Next, would you be able to check the logs for cPanel at /usr/local/cpanel/logs/error_log location when trying to log into webmail?
Code:
tail -f /usr/local/cpanel/logs/error_log
I'm wondering if the password and shadow files either have the wrong ownership or aren't creating for the email account, or alternatively if the domain isn't properly owned on the machine.
Here are the permissions you should have on the /home/user/etc files for an email account:
Code:
# ls -ld /home/user/etc && ls -ld /home/user/etc/domain.com && ls -lah /home/user/etc/domain.com.com
drwxr-x--- 3 user mail 4096 Mar 17 2010 /home/user/etc/
drwxr-x--- 4 user mail 4096 Feb 6 20:18 /home/user/etc/domain.com/
total 40K
drwxr-x--- 2 user mail 4.0K Mar 17 2010 \@pwcache/
drwxr-xr-x 2 user mail 4.0K Mar 17 2010 cpacct/
-rw-r--r-- 1 user mail 88 Mar 17 2010 passwd
-rw-r--r-- 1 user user 298 Mar 17 2010 passwd,v
-rw-r--r-- 1 user user 17 Mar 17 2010 quota
-rw-r--r-- 1 user user 227 Mar 17 2010 quota,v
-rw-r----- 1 user mail 54 Mar 17 2010 shadow
-rw-r----- 1 user user 264 Mar 17 2010 shadow,v
Thanks.