Page 1 of 2 12 LastLast
Results 1 to 15 of 23

Thread: Mailbox quota exceeded

  1. #1
    Registered Member
    Join Date
    Mar 2007
    Posts
    25

    Default Mailbox quota exceeded

    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. #2
    Registered Member
    Join Date
    Mar 2004
    Location
    Sydney
    Posts
    211

    Default

    2 options...

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

    2\ Increase the quota for the account...

  3. #3
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    11,422
    cPanel/WHM Access Level

    Root Administrator

    Lightbulb

    Have a peek at this thread, might be something useful for you there.

    http://forums.cpanel.net/showthread.php?t=59000

  4. #4
    Registered Member
    Join Date
    Mar 2007
    Posts
    25

    Default

    Quote Originally Posted by bking View Post
    2 options...

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

    2\ Increase the quota for the account...

    mailbox is absolutely empty
    but cpanel shows what is overquota

  5. #5
    Registered Member
    Join Date
    Mar 2004
    Location
    Sydney
    Posts
    211

    Default

    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. #6
    Registered Member
    Join Date
    Mar 2004
    Posts
    52

    Default 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:

    find /home/jckmedia/.cpanel/datastore/ -name "diskusage_*" | xargs rm -f
    find /home/jckmedia/mail/ -name maildirsize | xargs rm -f
    /scripts/generate_maildirsize --force --allaccounts
    This doesn't seem to solve the problem either.

    Are there any other solutions? Reinstall of courier?

  7. #7
    Registered Member
    Join Date
    Mar 2007
    Posts
    25

    Default

    Quote Originally Posted by bking View Post
    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.

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

  8. #8
    Registered Member
    Join Date
    Mar 2004
    Posts
    52

    Default 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:

    10485760000S,0C
    2052539478 6836
    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. #9
    Registered Member
    Join Date
    Mar 2004
    Posts
    52

    Default

    I am still having problems with the maildirsize after a upcp --force

    WHM 11.15.0 cPanel 11.18.1-R20683
    REDHAT Enterprise 4 i686 on standard - WHM X v3.1.0
    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. #10
    Registered Member
    Join Date
    Jan 2008
    Location
    Buenos Aires, Argentina
    Posts
    1,051
    cPanel/WHM Access Level

    Root Administrator

    Default

    Quote Originally Posted by olliemaitland View Post
    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

    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. #11
    Registered Member
    Join Date
    Jan 2008
    Location
    Buenos Aires, Argentina
    Posts
    1,051
    cPanel/WHM Access Level

    Root Administrator

    Default

    Quote Originally Posted by olliemaitland View Post
    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
    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. #12
    Registered Member
    Join Date
    Mar 2004
    Posts
    52

    Default

    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

    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. #13
    Registered Member
    Join Date
    Jan 2008
    Location
    Buenos Aires, Argentina
    Posts
    1,051
    cPanel/WHM Access Level

    Root Administrator

    Default

    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. #14
    Registered Member
    Join Date
    Mar 2004
    Posts
    52

    Default

    Thank for the update Kent.

    I'm still having problems with this one account:

    The corrupt file is:

    root@clara [~]# cat /home/jckmedia/mail/domain.com/username/maildirsize

    2054434989 6769
    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.

    root@clara [~]# du --max-depth=1 /home/jckmedia/mail/domain.com/username/|grep -v Inbox
    48 /home/jckmedia/mail/domain.com/username/.Drafts
    4 /home/jckmedia/mail/domain.com/username/new
    36 /home/jckmedia/mail/domain.com/username/.Sent
    4 /home/jckmedia/mail/domain.com/username/courierimapkeywords
    7408 /home/jckmedia/mail/domain.com/username/cur
    4 /home/jckmedia/mail/domain.com/username/tmp
    28 /home/jckmedia/mail/domain.com/username/.Junk
    124 /home/jckmedia/mail/domain.com/username/.spam
    56 /home/jckmedia/mail/domain.com/username/.Trash
    32 /home/jckmedia/mail/domain.com/username/courierimaphieracl
    2052308 /home/jckmedia/mail/domain.com/username/
    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. #15
    Registered Member
    Join Date
    Jan 2008
    Location
    Buenos Aires, Argentina
    Posts
    1,051
    cPanel/WHM Access Level

    Root Administrator

    Default

    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?

Page 1 of 2 12 LastLast

Similar Threads

  1. Mailbox quota over account quota
    By ruber in forum E-mail Discussions
    Replies: 3
    Last Post: 10-01-2007, 12:33 PM
  2. mailbox over quota warning - mailbox is empty...
    By Devil Inside in forum E-mail Discussions
    Replies: 2
    Last Post: 09-02-2004, 02:10 PM
  3. queuing mailbox limit exceeded emails
    By butch in forum E-mail Discussions
    Replies: 1
    Last Post: 03-13-2004, 12:30 AM
  4. Disk quota exceeded
    By AlaskanWolf in forum General Discussion
    Replies: 11
    Last Post: 10-19-2001, 04:43 AM
bargain