Unlimited Mailbox Quota Setting

Discussion in 'Installation/Configuration' started by atjensen11, Feb 4, 2010.

  1. atjensen11

    atjensen11 New Member


    I had set up several email mailboxes initially with 100 MB quotas. One of those users requested an unlimited mailbox quota. Therefore, I change the quota value for this mailbox to 0.

    Is 0 the correct value? Rather, is -1 unlimited in respect to mailbox quota?

    The reason I ask is that the user still reports that the quota (as displayed through Squirrelmail Quota Plugin) shows 100 MB despite the 0 value in ISPConfig3.

    The server is a Debian Lenny server configured using the Perfect Server with ISPConfig3 tutorial on this excellent site.

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, 0 is the correct value
  3. atjensen11

    atjensen11 New Member

    Thanks Till for confirming. I had the value set to 0.

    The user claimed that there was a quota on the email mailbox. I confirmed in ISPConfig3 that the quota value was set to 0.

    After following up with the user, the user indicated that they have no reason to believe the account is full (no bounces), but the webmail program has a bar graph showing quota usage.

    The webmail program is Roundcube version 0.3.X. I use Courier as the IMAP server.

    Do you have any idea how I can modify my configuration so that the quota usage in Roundcube is reflected correctly?

  4. atjensen11

    atjensen11 New Member

    More information. The following is an excerpt from the Roundcube config file.

    // if in your system 0 quota means no limit set this option to TRUE
    $rcmail_config['quota_zero_as_unlimited'] = TRUE;
    It would appear that both Roundcube and ISPConfig3 are configured correctly.

    Should I try deleting the maildirsize file from the user account? It should get created automatically the next time a mail is delivered to the account, correct?
  5. atjensen11

    atjensen11 New Member

    I used a different account to conduct some testing.

    If I removed the maildirsize file from the mailbox, the quota was correctly displayed within Roundcube as unlimited. Some users also use Squirrelmail for webmail. The Squirrelmail installation also includes the check quota plugin. With the maildirsize file removed from the mailbox, the quota information was omitted from the Squirrelmail interface.

    When I replaced the maildirsize file, both webmail programs showed the quota information.

    I think the issue here is that mailbox had a quota when it was initially created. Thus, the maildirsize file was automatically generated. When the quota is set as unlimited, the maildirsize file is not updated nor is it removed. I have to manually remove the file to reflect the unlimited state.

    With the maildirsize file removed from the mailbox, I sent a test email to the account. It is my understanding that the maildirsize file is updated with each new email delivered to the mailbox. The maildirsize file was not created when the quota was set as unlimited.

    Am I experiencing a bug when trying to change a mailbox with an existing quota to unlimited?
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Might be a bug in the maildirmake command. ISPConfig uses maildirmake -q to set the quota on changes but maildirmake does not seem to work correctly on your system when a quota value of 0 is set. Maybe we have to delete the maildirsize file manually then.

Share This Page