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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Email account disappeared

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

  1. harilip

    harilip Member

    Joined:
    Jun 15, 2017
    Messages:
    5
    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:
    562
    Likes Received:
    40
    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
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,080
    Likes Received:
    1,364
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
  4. harilip

    harilip Member

    Joined:
    Jun 15, 2017
    Messages:
    5
    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