Results 1 to 3 of 3

Thread: Show MailboxSize by Date (After) Cli Command

  1. #1
    cypricus is offline Junior Member
    Join Date
    Nov 2010
    Posts
    7
    Rep Power
    4

    Wink Show MailboxSize by Date (After) Cli Command

    Hi,

    My Boss, give me a work.

    Search in Zimbra all mailboxes and give the size of all per users.
    (Okay.. I'm think... That's easy...)

    Then he completes (by dates, everything after 2010....)

    My first move has... Okay i'm quit...
    (because i'm talking about 1200 Mailboxes.....)

    So... i'm writing now my resing letter, but just in case.

    That's any command cli to show the size of mailboxes per users and only count after x date?

    Like.
    Old-Job 2 GB (Corresponding 2009 and 2010 mails only).

    Thanks alot.

  2. #2
    prashant's Avatar
    prashant is offline Zimbra Employee
    Join Date
    Jul 2007
    Posts
    343
    Rep Power
    7

    Default

    I know this much only

    zimbra@pra147:~$ zmprov gqu `zmhostname`|awk {'print " "$3" "$2" "$1'}

    and

    script

    #!/bin/bashall_account=`zmprov gaa`;for account in ${all_account}do mb_size=`zmmailbox -z -m ${account} gms`; echo "Mailbox size of ${account} = ${mb_size}";done
    ~=Prashant=~

  3. #3
    prashant's Avatar
    prashant is offline Zimbra Employee
    Join Date
    Jul 2007
    Posts
    343
    Rep Power
    7

    Default

    Please go ahead and file an enhancement at bugzilla.zimbra.com
    ~=Prashant=~

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. show date AND time in Mail-preview
    By stegbth in forum Users
    Replies: 9
    Last Post: 01-08-2013, 08:54 AM
  2. Regular backup by date. Please correct me the command
    By Bullz3y3 in forum Administrators
    Replies: 2
    Last Post: 03-10-2012, 12:38 AM
  3. Replies: 2
    Last Post: 12-21-2011, 02:10 AM
  4. Meeting Request emails through CalDav don'ts show time or date
    By kbaliey in forum CalDAV / CardDAV / iSync
    Replies: 1
    Last Post: 08-16-2010, 11:08 AM
  5. Replies: 0
    Last Post: 12-09-2008, 11:58 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
  •