The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Webmail problem

Discussion in 'E-mail Discussions' started by Shady319, Jul 12, 2010.

  1. Shady319

    Shady319 Registered

    Jul 12, 2010
    Likes Received:
    Trophy Points:
    Hi guys,

    I'm on a shared server and a hard drive crashed recently. They got it back up, however, I am still experiencing difficulties with my account. They tried a few things to fix it, but it is still there. My account is a reseller account. All other accounts under me are working except this one.

    Whenever I log into my email account, I get a login failed. I MUST login using my regular cpanel user/pass. If I make a and try to login, I can't.

    Once I login to the default email, I cannot receive e-mail and I cannot send email because it says does not exist.

    Everything was working before the HDD crashed, and they have tried a few different things, but the problem is still there. I would just like some suggestions that I could forward to them.

  2. Miraenda

    Miraenda Well-Known Member

    Jul 28, 2004
    Likes Received:
    Trophy Points:
    Coralville, Iowa USA
    First suggestion, have them open up a ticket with cPanel if they can't fix it :D

    Next suggestion, it's likely they either didn't restore or restored with the wrong permissions the /home/user/etc/ folder (that folder contains the individual email account logins in passwd and shadow files). If any of those files have the wrong permissions or are missing the email account users, then you won't be able to log into webmail:

    /home/user/etc permissions

    drwxr-x---   6 user mail   4.0K Jan 28 15:27 etc
    /home/user/etc/ permissions

    drwxr-x---   5 user mail  4.0K Jul  9 12:50
    /home/user/etc/ permissions inside the folder

    # ls -lah
    total 44K
    drwxr-x---  5 user mail  4.0K Jul  9 12:50 .
    drwxr-x---  6 user mail  4.0K Jan 28 15:27 ..
    drwx--x--x  4 user user 4.0K Apr 10 15:52 admin
    drwx--x--x  3 user user 4.0K Apr 10 15:52 cpacct
    -rw-r--r--  1 user mail   152 Feb 24 13:23 passwd
    -rw-r--r--  1 user user 1.9K Feb 24 13:23 passwd,v
    drwxr-x---  2 user mail  4.0K Feb 24 13:24 @pwcache
    -rw-r--r--  1 user user   33 Feb 24 13:23 quota
    -rw-r--r--  1 user user  387 Feb 24 13:23 quota,v
    -rw-r-----  1 user mail   107 Apr 10 16:00 shadow
    -rw-r-----  1 user user 2.0K Feb 24 13:23 shadow,v
    Contents example of passwd file at /home/user/etc/ location:

    # cat passwd

Share This Page