Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Email account disappeared

Discussion in 'E-mail Discussion' started by harilip, Aug 28, 2017.

  1. harilip

    harilip Member

    Joined:
    Jun 15, 2017
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Bucharest
    cPanel Access Level:
    Website Owner
    Hello!
    We had an email account created ( let's say test@domain.com ) and one day we noticed that this email disappeared from the "Email Accounts" section in cpanel. We tried to recreate the account but it says that it already exists and it does in /home/$domain/mail/$domain/ but it does not appear in email accounts and we also cannot access it. We tried deleting it manually but it outputs the same error. We also tried restoring the files from a backup but still no luck.
    Ownership of the files is allright. Any ideas how to restrore/recreate the email account?
    Google also didn't help
    Thank you!
     
  2. SysSachin

    SysSachin Well-Known Member

    Joined:
    Aug 23, 2015
    Messages:
    604
    Likes Received:
    43
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Try to run fix mail permission script as below and check mail account in cpanel
    /scripts/mailperm

    If still facing same issue then try to update cpanel forcefully using below command.

    /scripts/upcp --force
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,806
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Can you verify if the entries for this email account exist in the passwd and shadow files under the /home/$cpanel-username/etc/$domain.tld/ directory?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. harilip

    harilip Member

    Joined:
    Jun 15, 2017
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Bucharest
    cPanel Access Level:
    Website Owner
    For the email account that we're having trouble with there is an entry in the passwd file but nothing in shadow

    I tried the first scrip, it didn't do the trick
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice