Change the mail Quota in OSS version ?
Change the mail Quota in OSS version ?
Sorry, I've searched the forum but can't find anything related.
How can I change the quota of an user ? I used Admin web console to change this, but it cannot be saved, then I used zmprov to change zimbraMailQuota from 0 to 100, then restart mailbox, but when I logged in Admin console and edited this user, the quota's still unlimited.
I tried create new user with new quota, edited COS, create new COS, but still no luck.
The log generated when I try to save COS or Account (modified Quota):
[http-7071-Processor48] [] ZimbraContext - requested session no longer exists: 4
Pls advise.
How can I change the quota of an user ? I used Admin web console to change this, but it cannot be saved, then I used zmprov to change zimbraMailQuota from 0 to 100, then restart mailbox, but when I logged in Admin console and edited this user, the quota's still unlimited.
I tried create new user with new quota, edited COS, create new COS, but still no luck.
The log generated when I try to save COS or Account (modified Quota):
[http-7071-Processor48] [] ZimbraContext - requested session no longer exists: 4
Pls advise.
-
- Ambassador
- Posts: 4558
- Joined: Fri Sep 12, 2014 9:52 pm
Change the mail Quota in OSS version ?
We cache LDAP look ups so ether need to wait or restart tomcat between changes to LDAP attributes.
Change the mail Quota in OSS version ?
As I said before, I restarted Tomcat and then restart the Zimbra server, but it didn't change anything. I change the "zimbraMailQuota" of an account from 0 to 100. Is it enough? Or it requires more attributes to be set ?
Thanks.
Thanks.
-
- Ambassador
- Posts: 4558
- Joined: Fri Sep 12, 2014 9:52 pm
Change the mail Quota in OSS version ?
Are you making this change on the Admin UI? or with zmprov? At the COS level or the user level?
Change the mail Quota in OSS version ?
First, I changed it in the Admin GUI, but I cannot save (??) both for user side and COS side, then I used zmprov to set it (yes, both for user side and COS side), restarted tomcat. But when I logged in admin GUI to edit the user (or edit the COS), the quota's still unlimited.
-
- Ambassador
- Posts: 4558
- Joined: Fri Sep 12, 2014 9:52 pm
Change the mail Quota in OSS version ?
What does zmprov ga return?
Change the mail Quota in OSS version ?
Here it is, just some of the first lines that I think useful.
# name user1@example.com
cn: user1
displayName: User
mail: user1@example.com
objectClass: organizationalPerson
objectClass: zimbraAccount
objectClass: amavisAccount
sn: user1
uid: user1
userPassword: {SSHA}w62HdBWjELzIDB3+you3wjF+9bXaRAqY
zimbraAccountStatus: active
zimbraAdminAuthTokenLifetime: 12h
zimbraAttachmentsBlocked: FALSE
zimbraAttachmentsIndexingEnabled: TRUE
zimbraAttachmentsViewInHtmlOnly: FALSE
zimbraAuthTokenLifetime: 2d
zimbraContactMaxNumEntries: 0
zimbraFeatureAdvancedSearchEnabled: TRUE
zimbraFeatureCalendarEnabled: TRUE
zimbraFeatureChangePasswordEnabled: TRUE
zimbraFeatureContactsEnabled: TRUE
zimbraFeatureConversationsEnabled: TRUE
zimbraFeatureFiltersEnabled: TRUE
zimbraFeatureGalEnabled: TRUE
zimbraFeatureHtmlComposeEnabled: TRUE
zimbraFeatureIMEnabled: FALSE
zimbraFeatureInitialSearchPreferenceEnabled: TRUE
zimbraFeatureSavedSearchesEnabled: TRUE
zimbraFeatureTaggingEnabled: TRUE
zimbraFeatureViewInHtmlEnabled: FALSE
zimbraId: 7b1483fb-7658-42cc-86d9-0ee5054d0ff7
zimbraImapEnabled: TRUE
zimbraMailDeliveryAddress: user1@example.com
zimbraMailHost: mail.example.com
zimbraMailIdleSessionTimeout: 0
zimbraMailMessageLifetime: 0
zimbraMailMinPollingInterval: 2m
zimbraMailQuota: 100
zimbraMailSpamLifetime: 30d
zimbraMailStatus: enabled
zimbraMailTransport: lmtp:mail.example.com:7025
zimbraMailTrashLifetime: 30d
# name user1@example.com
cn: user1
displayName: User
mail: user1@example.com
objectClass: organizationalPerson
objectClass: zimbraAccount
objectClass: amavisAccount
sn: user1
uid: user1
userPassword: {SSHA}w62HdBWjELzIDB3+you3wjF+9bXaRAqY
zimbraAccountStatus: active
zimbraAdminAuthTokenLifetime: 12h
zimbraAttachmentsBlocked: FALSE
zimbraAttachmentsIndexingEnabled: TRUE
zimbraAttachmentsViewInHtmlOnly: FALSE
zimbraAuthTokenLifetime: 2d
zimbraContactMaxNumEntries: 0
zimbraFeatureAdvancedSearchEnabled: TRUE
zimbraFeatureCalendarEnabled: TRUE
zimbraFeatureChangePasswordEnabled: TRUE
zimbraFeatureContactsEnabled: TRUE
zimbraFeatureConversationsEnabled: TRUE
zimbraFeatureFiltersEnabled: TRUE
zimbraFeatureGalEnabled: TRUE
zimbraFeatureHtmlComposeEnabled: TRUE
zimbraFeatureIMEnabled: FALSE
zimbraFeatureInitialSearchPreferenceEnabled: TRUE
zimbraFeatureSavedSearchesEnabled: TRUE
zimbraFeatureTaggingEnabled: TRUE
zimbraFeatureViewInHtmlEnabled: FALSE
zimbraId: 7b1483fb-7658-42cc-86d9-0ee5054d0ff7
zimbraImapEnabled: TRUE
zimbraMailDeliveryAddress: user1@example.com
zimbraMailHost: mail.example.com
zimbraMailIdleSessionTimeout: 0
zimbraMailMessageLifetime: 0
zimbraMailMinPollingInterval: 2m
zimbraMailQuota: 100
zimbraMailSpamLifetime: 30d
zimbraMailStatus: enabled
zimbraMailTransport: lmtp:mail.example.com:7025
zimbraMailTrashLifetime: 30d
-
- Ambassador
- Posts: 4558
- Joined: Fri Sep 12, 2014 9:52 pm
Change the mail Quota in OSS version ?
Quota of 100 bytes? Are you really trying to set it that small? Try a bigger number like 10000
Change the mail Quota in OSS version ?
This's also a question I want to ask. As you said, the unit of zimbraMailQuota here is byte...
Oh yes, the quota now is 100mb (104857600 bytes).
What is the minimum number that Zimbra accepts as a quota size?
Thanks.
Oh yes, the quota now is 100mb (104857600 bytes).
What is the minimum number that Zimbra accepts as a quota size?
Thanks.
-
- Ambassador
- Posts: 4558
- Joined: Fri Sep 12, 2014 9:52 pm
Change the mail Quota in OSS version ?
It should take small quota's but you'd have to test to be sure. I'm don't think a quota less than 1meg makes much sense it today's email world.