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

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 06-18-2008, 06:18 AM
Member
 
Posts: 11
Default Current space used by a user (quota)

Hello,

1. It appears that all emails are stored in this folder on the server:
/zimbra/store/0
Under this i see numbered sub-dirs, which look like 'userid' of the user. And messages are apparently stored under it.

Is this correct?

2. If so, i can use unix command: du -kh on a user folder to determine disk space used by a user.(are attachments inside this too?)
$ du -kh /zimbra/store/0/14
96 K /zimbra/store/0/14

Is this OK? I am just trying to understand how zimbra is able to calculate disk space used by a user.

3. Tried looking at the java source, but cannot determine, how zimbra is re-calculating disk space everytime a mail is sent etc. Any pointers to this?

Any information on the above will be very useful. Especially related to how zimbra really 'calculates' the disk space used by a user (i know of zimprov script, but that only gives me the space, how did it calculate it?).

Thanks for your help.
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.