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!

SOLVED Restoring mail folder issue after server crash

Discussion in 'E-mail Discussion' started by krusty, Feb 25, 2018.

  1. krusty

    krusty Active Member

    Joined:
    Apr 1, 2004
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    151
    I had an issue with my vps after a crash, which meant reinstalling the os and cpanel. I had back ups that day so there is no issue on that front.

    I had left exim running once the server was back up (and before i realised there was an issue and had to do a reinstall) so I tar'd the mail directories of each account.

    upon restoring each account. i've done a mv mail old.mail and untared the mail folder in its place

    did a repair mail permsions but now each email account is showing zero emails.

    help
     
  2. krusty

    krusty Active Member

    Joined:
    Apr 1, 2004
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    151
    update
    fixed by running

    /scripts/generate_maildirsize --confirm --allaccounts --verbose
     
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

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

    I'm glad to see you were able to solve the issue. Thank you for sharing the outcome.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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