Results 1 to 4 of 4

Thread: Query/Find big attachments in user account

  1. #1
    Join Date
    Mar 2010
    Location
    GREECE
    Posts
    16
    Rep Power
    5

    Default Query/Find big attachments in user account

    Hello,
    is there any way to query/find big attachments in a user account through zmmboxsearch or anything similar ??

    I want to be able to script this, and find (for example) , all the attachments that are more than 5MB in a user , in order to delete them and free up some space in user's quota.

    Or to be able to have a report that
    userA@domain.com has 15 attachments that occupied 75MB of his quota
    10 files are .zip
    10 files are .avi
    25 files are .bmp
    etc...etc...

    Any ideas how to start with that ?

    Thank you,
    Panagiotis

  2. #2
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    Code:
    zmmailbox -z -v -m user@domain s -t message "in:inbox size:>5MB"

  3. #3
    Join Date
    Mar 2010
    Location
    GREECE
    Posts
    16
    Rep Power
    5

    Default

    Thank you very much fir your help uxbod , really helpful ...

    Where can I find all the "options" / "attributes" of zmmailbox in order to be able to learn more things ??

    Is there any help file/how to for the specific command ?
    (unfortunately the help commands didn't help me at all ....)

    Thanks again for your help,
    Regards,

    Panagiotis

  4. #4
    Join Date
    Jun 2008
    Location
    Berkeley, CA
    Posts
    1,474
    Rep Power
    9

    Default

    Zmmailbox - Zimbra :: Wiki

    And also do zmmailbox help <topic> for more information. You can save yourself some typing by just going into interactive mode via zmmailbox (no arguments).

Similar Threads

  1. Replies: 2
    Last Post: 03-13-2009, 09:10 PM
  2. Compartmentalized groups or locations sharing a domain
    By dstoliker in forum Administrators
    Replies: 5
    Last Post: 07-14-2008, 01:06 PM
  3. Zimbra Install Problem - getDirectContext
    By bsimzer in forum Installation
    Replies: 27
    Last Post: 07-19-2007, 11:12 AM
  4. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 07:38 PM
  5. Network edition - strange behavior
    By goetzi in forum Installation
    Replies: 6
    Last Post: 11-16-2005, 03:08 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
  •