Results 1 to 3 of 3

Thread: [SOLVED] Creating COS Question

  1. #1
    Join Date
    Jul 2008
    Location
    Richmond Hill, Ontario, Canada
    Posts
    58
    Rep Power
    7

    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.

  2. #2
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    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.

  3. #3
    Join Date
    Jul 2008
    Location
    Richmond Hill, Ontario, Canada
    Posts
    58
    Rep Power
    7

    Default

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

Similar Threads

  1. Replies: 21
    Last Post: 02-04-2010, 09:06 AM
  2. Replies: 0
    Last Post: 11-23-2008, 11:27 PM
  3. [SOLVED] Edit Button in Documents Gray After Upgrade
    By weathertation in forum Administrators
    Replies: 10
    Last Post: 05-14-2008, 12:47 PM
  4. 4.0.4 to 4.5.6 upgrade failed in network edition
    By chenthil in forum Administrators
    Replies: 1
    Last Post: 08-27-2007, 09:36 AM
  5. Replies: 0
    Last Post: 12-09-2006, 02:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •