Results 1 to 8 of 8

Thread: cos mailbox quota not applying in all member user

  1. #1
    Join Date
    Aug 2010
    Posts
    65
    Rep Power
    5

    Default cos mailbox quota not applying in all member user

    Hi Friends,

    We have zimbra network Edition here arround 6000 mail box available and
    i set cos mail quota 250MB before four days but till now not its done only 25 user mail box quota set automatic 250mb other all user not any changes

    please guide me what in need to do for 6000 user mail box quota set automatic
    not manually.

    Please guide me its creatical issue

    Thanks & Regards
    Kirtan Patel
    Email Patel.kirtan@ishanitech.biz
    Mo. +919879612550

  2. #2
    Join Date
    Apr 2010
    Location
    Italy
    Posts
    160
    Rep Power
    5

    Default

    Quote Originally Posted by kirtan View Post
    Hi Friends,

    We have zimbra network Edition here arround 6000 mail box available and
    i set cos mail quota 250MB before four days but till now not its done only 25 user mail box quota set automatic 250mb other all user not any changes

    please guide me what in need to do for 6000 user mail box quota set automatic
    not manually.

    Please guide me its creatical issue

    Thanks & Regards
    Kirtan Patel
    Email Patel.kirtan@ishanitech.biz
    Mo. +919879612550
    Have you created more cos on server, over the default cos?

    Do the users belong to the cos for which you have set quota?

    Also give us information about zimbra version.

    Regards

  3. #3
    Join Date
    Aug 2010
    Posts
    65
    Rep Power
    5

    Default

    HI Sir,

    Thanks for reply
    On Zimbra server only one default cos available and all user member of this and
    Second we have zimbra 7.1.2_GA_3268.FOSS Edition
    I attached one jpg please check all user property show this

    Please reply soon..

    Thanks
    Kirtan Patel
    Attached Images Attached Images

  4. #4
    Join Date
    Apr 2010
    Location
    Italy
    Posts
    160
    Rep Power
    5

    Default

    The reason is that, for those users for which don't apply the changes, the quota value is defined manually for account.

    Regards

  5. #5
    Join Date
    Aug 2010
    Posts
    65
    Rep Power
    5

    Default

    Hi Dear,

    You mean some this all quota set manually. or if manually is set so we need again set manually
    if set manually which is best or easy way for set this because here 6000 user how can i set its manually
    please give me any other way.

    Thanks
    Kirtan
    Last edited by kirtan; 12-28-2011 at 08:01 AM.

  6. #6
    Join Date
    Apr 2010
    Location
    Italy
    Posts
    160
    Rep Power
    5

    Default

    Hi,

    you have to run the following bulk provisioning script with name 'prov' in /tmp folder:

    Code:
    #!/bin/bash
    ################################################################################
    # $Id: deprovision,v 1.2 2007/02/18 20:41:43 dlbewley Exp $
    #-------------------------------------------------------------------------------
    # Description:
    #   Script to modify all Zimbra accounts quota.
    #
    #
    #
    # Usage:
    #    su - zimbra
    #    ./deprovision > deprovision.zmp
    #    zmprov < deprovision.zmp
    #
    ################################################################################
    
    # this will be passed to grep -vE which acts as an exclude list
    KEEP_ACCOUNTS='^(admin@|ham\.|spam\.|wiki@)'
    
    # files to hold account lists
    ACCOUNTS='accounts.txt'
    
    TMPA=`mktemp "$ACCOUNTS.XXXXXX"`
    
    # get accounts lists
    zmprov -l gaa > "$TMPA"
    if [ -n "$KEEP_ACCOUNTS" ]; then
        grep -vE "$KEEP_ACCOUNTS" "$TMPA" > "$ACCOUNTS"
        rm "$TMPA"
    else
        mv "$TMPA" "$ACCOUNTS"
    fi
    # modify accounts quota
        cat "$ACCOUNTS" | while read account; do
        echo "ma $account zimbraMailQuota 262144000"
    done
    it generates a file with the list of all the account with the association of the quota value to modify.

    After you have created the file prov, with 777 permissions, you have to run the following:
    Code:
    su zimbra
    cd /tmp
    ./prov > /tmp/prov.zmp
    zmprov < /tmp/prov.zmp
    and this mechanism changes automatically the quota for all the users, with the exception of system users(admin, wiki, ham, spam). With many accouts, it will take some time.

    Tell me if this helps!
    Last edited by gvillari; 12-28-2011 at 08:52 AM.

  7. #7
    Join Date
    Aug 2010
    Posts
    65
    Rep Power
    5

    Default

    Hi Sir,

    Its Done
    LOts Of Thanks

    Kirtan
    patel.kirtan@ishanitech.biz

  8. #8
    Join Date
    Apr 2010
    Location
    Italy
    Posts
    160
    Rep Power
    5

    Default

    Glad you have solved!

    Regards Giovanna...not Sir, but Lady

Similar Threads

  1. Replies: 21
    Last Post: 02-04-2010, 10:06 AM
  2. Can't start Zimbra!
    By zibra in forum Administrators
    Replies: 5
    Last Post: 03-22-2007, 12:34 PM
  3. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 11:38 AM
  4. Services stopped working
    By lilwong in forum Administrators
    Replies: 4
    Last Post: 08-15-2006, 10:19 AM
  5. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 07:38 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
  •