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.

Mail quota file

Discussion in 'E-mail Discussions' started by DN-Paul, Jul 30, 2008.

  1. DN-Paul

    DN-Paul Well-Known Member

    Joined:
    Oct 30, 2003
    Messages:
    91
    Likes Received:
    0
    Trophy Points:
    6
    Hi guys,
    Got a problem with one users email quota, for some reason cpanel and webmail clients only think he is using ~200KB of space, when in reality he's using ~52MB of space (confirmed on the filesystem).

    It looks like the maildirsize file in /home/username/mail/domain/emailuser/ got emptied and is starting again from scratch counting new email received since it got emptied.

    Is there some way to get cPanel to rebuild this file counting all of the users current mail so the true total is displayed again?
     
  2. gr8ex

    gr8ex Member

    Joined:
    Sep 30, 2004
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    /scripts/generate_maildirsize should help
     
  3. DN-Paul

    DN-Paul Well-Known Member

    Joined:
    Oct 30, 2003
    Messages:
    91
    Likes Received:
    0
    Trophy Points:
    6
    Forgot to update this thread, spoke to Jesse at cpanel and
    Code:
    /scripts/generate_maildirsize --verbose --allaccounts --force
    sorted it for me.

    Thanks anyway gr8ex.
     
Loading...

Share This Page