Quota exceeded for the store



  • Hello,

    I tried to import a large mailbox into Kopano but then it failed because I exceeded quota.
    In DeskApp I see error

    "The message store has exceeded its hard quota limit.
    To reduce the amount of data in this message store, select some items that you no longer need, delete them and cleanup your Deleted Items folder."
    
    

    I deleted quite some messages - still the same.

    I changed the settings in server.cfg

    quota_warn = 0
    quota_soft = 0
    quota_hard = 0
    
    companyquota_warn = 0
    companyquota_soft = 0
    companyquota_hard = 0
    
    

    I tried to change the quota for the user himself

    kopano-cli --user user1  --quota-override yes --quota-warn 7000 --quota-soft 25000 --quota-hard 30000
    

    But I’m getting an error:

    MAPI error 80040102 (MAPI_E_NO_SUPPORT)
    

    LDAP shows following information

    kopanoQuotaOverride: 1
    kopanoQuotaWarn: 1000000000
    kopanoQuotaSoft: 1100000000
    kopanoQuotaHard: 1200000000
    
    

    Any pointers?

    Thanks,
    Paweł


  • Kopano

    @pawel said in Quota exceeded for the store:

    I tried to change the quota for the user himself
    kopano-cli --user user1 --quota-override yes --quota-warn 7000 --quota-soft 25000 --quota-hard 30000

    But I’m getting an error:
    MAPI error 80040102 (MAPI_E_NO_SUPPORT)

    The “no support” error is expected when running the ldap backend, as kopano-cli then cannot modify these values.

    What quota values are shown when calling e.g. kopano-cli -u username?



  • The one from LDAP:

    Store:                        572514E624714CBABF0855EBAF5C0A01
    Store size:                   7389.00 MB
    Send-as:
    Delegation:
    Auto-accept meeting requests: no
    Out-Of-Office:                disabled
    Current user store quota settings:
        Quota overrides:          yes
        Warning level:            1000000000
        Soft level:               1100000000
        Hard level:               1200000000
    
    

  • Kopano

    Hi @pawel ,

    that output looks good. If you still get the over quota message in WebApp/DeskApp I would recommend to get in contact with our support.


  • Kopano

    Hi @pawel - the quota values in the output are in bytes. This will be resolved in one of the future releases - the development ticket in question is https://jira.kopano.io/browse/KC-1017



  • Just use kopano-admin, which, for years, has been showing digestible quota sizes already:

    # kopano-admin --details foo
    ...
    Server version:         8.6.80
    Mapped properties:
            0x8C6D0102                      48 bytes
            PR_GIVEN_NAME                   foo
            PR_SURNAME                      foo
            PR_EMS_AB_IS_MEMBER_OF_DL       1 values
            PR_EC_ENABLED_FEATURES          imap; mobile; outlook; pop3; webapp
            PR_EC_DISABLED_FEATURES 
    Current user store quota settings:
     Quota overrides:       no
     Warning level:         unlimited
     Soft level:            unlimited
     Hard level:            1200.00 MB
    

    Kopano itself will not modify LDAP; for this, an external tool needs to be used (and you likely already had one to add the user initially).


Log in to reply