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.

Email Accounts not showing in cPanel

Discussion in 'E-mail Discussions' started by vB Martin, Nov 1, 2005.

  1. vB Martin

    vB Martin Member

    Joined:
    Apr 8, 2003
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    First, my server setup.

    I have a dual SCSI non-RAID setup wit the secondary drive partitioned strictly as /var so that MySQL and the webserver run on seperate drives, cutting down R/W per drive.

    I had some serious I/O errors on the /var drive which started creating serious MySQL problems, so I backed up the drive, had it replaced, copied the info from the previous /var drive over to it and everything seems to be working fine with the exception of email accounts.

    Sending toemail accounts that existed prior to the drive switch is not a problem, but when I look at the email account functions in cPanel for any of the sites, none of the existing accounts shows up. Also, the dropmenu for the domain is empty when trying to add a new email account.

    Can someone point me in the right direction to resolving this? I'm fairly certain that I just need to resync cPanel with the existing accounts, but using the "Repair Mailbox permissions" in WHM does nothing.

    Help?
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You could try running:

    /scripts/updateuserdomains
    /scripts/mailperm
     
  3. vB Martin

    vB Martin Member

    Joined:
    Apr 8, 2003
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1

    Thanks.

    /scripts/upcp fixed it :)
     
  4. ukpro

    ukpro Active Member

    Joined:
    Aug 25, 2004
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    Same Problem

    We are getting this same problem. We have just migrated all accounts from one server to a load balanced pair. When the accounts were moved they automatically went into /home2 so we moved them then sym linked them and now the mailboxes are not showing in cPanel on 95% of the accounts. When you try add accounts it refuses and says:

    We have done:

    Code:
    # /scripts/updateuserdomains 
    # /scrips/mailperm
    # chown -R user:mail /home/user/mail
    # /scripts/upcp --force
    
    Still nothing works. Can anyone help?

    Liam
     
  5. ukpro

    ukpro Active Member

    Joined:
    Aug 25, 2004
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    Resolution

    Ok I got it! By manually running:

    Code:
    # chown -R user:mail /home/user/mail 
    
    Everything works fine. But I have over 200 hundred entries per server to go through. Is there any other way as it is obvious that /scripts/mailperm and /scripts/chownpublichtmls is not working on the server. Even after cpup --force.

    Thanks
     
  6. ukpro

    ukpro Active Member

    Joined:
    Aug 25, 2004
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    Help

    Does anyone have any ideas?
     
Loading...

Share This Page