1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Mailbox quota exceeded

Discussion in 'E-mail Discussions' started by soulmaster, Feb 15, 2008.

  1. soulmaster

    soulmaster New Member

    Joined:
    Mar 27, 2007
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Hello
    one of our clients email acount does not work properly
    exim does not accept mails for this account and returns them with error "Mailbox quota exceeded"
    problem is what mailbox of this user is empty
    but cpanel shows that account have used 70 MB diskspace
    quota for that account is 50 MB

    please help me to fix that
     
  2. bking

    bking Member

    Joined:
    Mar 1, 2004
    Messages:
    211
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Sydney
    2 options...

    1\ user needs to delete files as their account has breached quota

    2\ Increase the quota for the account...
     
  3. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    12,136
    Likes Received:
    37
    Trophy Points:
    48
    Location:
    Pennsylvania
  4. soulmaster

    soulmaster New Member

    Joined:
    Mar 27, 2007
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1

    mailbox is absolutely empty
    but cpanel shows what is overquota
     
  5. bking

    bking Member

    Joined:
    Mar 1, 2004
    Messages:
    211
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Sydney
    there are two types of quota here (unless I am reading you wrong..)

    The mailbox has a quota and the domain has a quota. The domain quota overrides the user/mailbox quota. If the domain as a whole has run out of quota(is this what has happened?) then the mailbox has no quota available.
     
  6. olliemaitland

    olliemaitland Member

    Joined:
    Mar 13, 2004
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    maildirsize

    I too am having serious trouble with the maildirsize with a new account.

    It seems to be isolated to Outlook 2007 users at the moment but even if the maildirsize files are removed and regenerated:

    This doesn't seem to solve the problem either.

    Are there any other solutions? Reinstall of courier?
     
  7. soulmaster

    soulmaster New Member

    Joined:
    Mar 27, 2007
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1

    domain quota is 1 GB
    Disk Space Usage 366/1000.00 MB
     
  8. olliemaitland

    olliemaitland Member

    Joined:
    Mar 13, 2004
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    This is becoming a big problem...

    Ok -- I have tested this across a number of clients now and this appears to be a big problem.

    This is a sample maildirsize which is causing a problem:

    Outlook complains of a quota problem whenever a message is moved between IMAP folders. As mentioned above I have tried regenerating the maildirsize files and I can get this to work if none are present however as soon as they are regenerated the quota message appears again.

    The "your IMAP server wishes to alert you to the following: You exceeded your mail quota" message is followed by "Error in IMAP command received by server.". (In Outlook 2007 is "The server responded: 'IDLE completed').

    The only difference odd configuration is that there is an "Inbox" folder under "Inbox". Does anyone else have a similar situation?

    Cheers,

    - Ollie
     
  9. olliemaitland

    olliemaitland Member

    Joined:
    Mar 13, 2004
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    I am still having problems with the maildirsize after a upcp --force

    I have tried removing/updating all sorts of mail quota but it seems that the problem is definitely coming from an invalid maildirsize file.

    Is it possible to disable courier from using this file?

    Kind regards,

    - Ollie
     
  10. Kent Brockman

    Kent Brockman Active Member

    Joined:
    Jan 20, 2008
    Messages:
    1,064
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    Buenos Aires, Argentina

    Well, don't forget that everything coming from the 2007 editions of Microsoft are still buggy. Did you tried Outlook 2000 or even Outlook Express / Windows Mail using POP3 instead IMAP? I'm sure the problem is within Outlook 2007.
     
  11. Kent Brockman

    Kent Brockman Active Member

    Joined:
    Jan 20, 2008
    Messages:
    1,064
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    Buenos Aires, Argentina
    You're using the Release version of Cpanel. Did you ever tried the Stable version? The Stable version is the recommended for production servers.

    Did you installed or upgraded any service in your server before maildirsize began failing?
     
  12. olliemaitland

    olliemaitland Member

    Joined:
    Mar 13, 2004
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    Thanks for the reply Kent.

    Yup -- I have tried both release and stable. I often find fixes in release which take a while longer to get to stable, but that's for another thread I guess :eek:

    No software installed -- just a new client domain and several emails. The difference here is that i) the email maildirs are large (approx 2-4GB) and ii) the client is using Outlook 2007.

    I can, however, reproduce the problems on Outlook 2003.

    Have tried "/scripts/courierup --force" too.

    Is there anything in particular that might appear wrong when looking at the maildirsize file? I can't tell the difference between an "invalid" one and a valid one.

    Without the file the quota message does not appear but in time the file get generated -- only, it would appear, corrupted.
     
  13. Kent Brockman

    Kent Brockman Active Member

    Joined:
    Jan 20, 2008
    Messages:
    1,064
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    Buenos Aires, Argentina
    I see. I've found in some cases that maildirsize files often get corrupted when an account gets over quota during several days. Sometimes I've repaired it assigning a bigger quota for that account. Sometimes only deleting the file is enough as it will be regenerated as soon as you check your webmail contents. And in the worst cases, I had to nightly backup the /home/username to /home/usernameBK, terminate the entire domain account, recreate it, and then restore that manual "backup" (usernameBK) to the original location.

    Reinstall the courier don't work too (nor reinstalling Exim, I tried that).

    maildirsize cannot be weighting 2 GB under normal circumstances... the maildirsize file simply register the total size of that particular account and sustracts the size of the deleted mails and sum up the size of new incoming messages, registering in the file the size of every message received/deleted. I would ask how many mails are hosted in that account (and how much space are consuming), at the /cur dir.

    Did you noted some rare activity in your server? maybe overload?

    And one more question: Outlook 2007 is checking these accounts via IMAP or POP?
     
  14. olliemaitland

    olliemaitland Member

    Joined:
    Mar 13, 2004
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    Thank for the update Kent.

    I'm still having problems with this one account:

    The corrupt file is:

    When removed IMAP transactions work for a bit and then eventually the maildirsize file becomes corrupted and then any moving or copying of emails between folders results in the quota exceeding warning.

    I'm not sure but to me that maildirsize does not appear to be valid. I just can't find out why it isn't generating properly. Do you think it could be a problem with the naming of the IMAP folders?

    Kind regards,

    - Ollie
     
  15. Kent Brockman

    Kent Brockman Active Member

    Joined:
    Jan 20, 2008
    Messages:
    1,064
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    Buenos Aires, Argentina
    This really exceeds my knowledge base since I don't use to check mail accounts via IMAP.

    did you tried to check IMAP in another domains of your server using Outlook 2007?
     
  16. sphen

    sphen New Member

    Joined:
    Mar 2, 2008
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    from what i can gather - this problem is with courier imap that is distributed with cpanel... and maybe more.. not sure if this has been addressed by any other patches or other versions, but it doesnt seem to be able to handle a quota over 2GB in size. has to do with a 32 bit integer or something in the program..

    the only way i have working accounts 100% of the time is setting their quota in cpanel to 2047 megs... 2048 or higher breaks it... ugh.

    anyone else able to confirm - or able to find a solution?
     
  17. utropic

    utropic Member

    Joined:
    Aug 6, 2005
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    6
    This is one hell of an oops. BTT.


    We are seeing the issue as well.
     
  18. utropic

    utropic Member

    Joined:
    Aug 6, 2005
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    6
    any updates on this?
     
  19. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,288
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    Houston, TX
  20. romanh

    romanh New Member

    Joined:
    Feb 27, 2004
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Support Request Id 432113 - error message: "You exceeded your mail quota"

    I just submitted the ticket

    https://tickets.cpanel.net/review/msg.cgi?ticketid=432113

    Support Request Id 432113 - error message: "You exceeded your mail quota"

    When mailbox has quota over 2GB (I has it 3GB and 4GB) the mailserver always send a message to my mail client "You exceeded your mail quota". even there is only 50% of 3GB mailbox.
    There is a lot of help on the forum but no one is real help. i.e. - deleting the maildirsize.

    It has something with error described there
    http://forums.cpanel.net/email-exim/76031-mailbox-quota-exceeded-2.html

    this problem is with courier imap that is distributed with cpanel... and maybe more.. not sure if this has been addressed by any other patches or other versions, but it doesnt seem to be able to handle a quota over 2GB in size. has to do with a 32 bit integer or something in the program..

    the only way i have working accounts 100% of the time is setting their quota in cpanel to 2047 megs... 2048 or higher breaks it


    set the quota 3GB on the mailbox
    and send the mails to this mailbox.
    try to move mail in mailbox to different mail folders.
    You will receive "You exceeded your mail quota"
    and some strange numbers in maildirsize file in your maildir.
     

Share This Page