Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-19-2009, 08:41 AM
Senior Member
 
Posts: 58
Default [SOLVED] Creating COS Question

I'm running a command from a script, but getting this error:
Code:
ERROR: account.INVALID_ATTR_VALUE (zimbraMailQuota must be a valid long: 1M)
This is the command I'm running:
Code:
cc NormalUsers zimbraMailQuota 1M
What's the issue here? I'm trying to max out the mail quota to 1000kb. I'm assuming the M stands for Megabyte.
Reply With Quote
  #2 (permalink)  
Old 01-19-2009, 09:39 AM
Moderator
 
Posts: 6,237
Default

zmprov cc NormalUsers zimbraMailQuota 1048576

1 MiB = 1024 KiB = 1048576 bytes

Using mkb in that attribute doesn't work like dhms durations - we store that in bytes, but you're welcome to open an RFE for unit detection in the code / use strings instead of long integers if you think it's necessary. (The admin console simply converts KiB to bytes.)

data storage/bandwidth calculator

Last edited by mmorse; 01-19-2009 at 09:44 AM..
Reply With Quote
  #3 (permalink)  
Old 01-19-2009, 09:46 AM
Senior Member
 
Posts: 58
Default

Alright, so zmprov cc NormalUsers zimbraMailQuota 1048576 is what I'm looking for then. Thank you.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.