Dovecot shows wrong quota

Discussion in 'ISPConfig 3 Priority Support' started by Turgut Kalfaoglu, Mar 13, 2025.

  1. Turgut Kalfaoglu

    Turgut Kalfaoglu Member HowtoForge Supporter

    hi - for some reason dovecot is not showing the right quota for the user.
    roundcube shows 0% full, dovecot says there is no limit.
    I set the mail quota in the limit-template to 7500MB, and the user has 7.6GB of mail. Yet:
    dovecot.conf:
    plugin {
    quota = dict:user::file:/var/vmail/%d/%n/.quotausage
    # quota = maildir:User quota -- yeah I have tried lots of things.. been at it for hours.
    # quota = dirsize:User quota
    # quota = fs:User quota
    # quota_rule = *:storage=2000M
    quota_grace = 0
    (sieve stuff deleted)
    }​
    # doveadm quota recalc -u [email protected]
    # doveadm quota get -u [email protected]
    Quota name Type Value Limit %
    user STORAGE 7877169 - 0
    user MESSAGE 11250 - 0

    and the quota file shows:
    # more .quotausage
    priv/quota/messages
    11253
    priv/quota/storage
    806637829
     
    Last edited: Mar 13, 2025
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Client limit templates are limits of what the client can enter when he creates a mailbox; it's not the actual limit of the mailbox. The limit of the mailbox is set in mailbox settings.
     
    Turgut Kalfaoglu likes this.
  3. Turgut Kalfaoglu

    Turgut Kalfaoglu Member HowtoForge Supporter

    Many thanks! I hadn't noticed that there. Indeed that fixed it.
    ]# doveadm quota get -u [email protected]
    Quota name Type Value Limit %
    user STORAGE 7877775 8192000 96
    user MESSAGE 11260 - 0

    Update: Roundcube fixed itself too!
     

Share This Page