Re: [vchkpw] vusaged question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wouter van der Schagt wrote: >> You are correct. It can also return usage for a particular domain. >> Instead of >> querying with 'u...@domain', query with '@domain'. > > Great, does this return 1 value (i suppose so), or a comma delimited range > mailbox, storage used...or is this is easy to make and iterate ourselves.. I'm not sure I understand what you're asking. The daemon? The daemon has a protocol it speaks with the client API. The client API sends a query and is returned the byte usage, and count usage for the queried item if cached. > No, this would pretty much cover the functionality we need. Perhaps an > option > for the delimited values as described above would be a nice addition. Other > than that it is great. Is 5.5 the first version in which this will > become available? Now I'm totally lost. What do you mean by delimited values? > How stable is the 5.5 branch compared with 5.4.25 that we are using now > with regards to standard functionality with Maildir++ support. I don't believe anything has changed except the quota support. So, I suppose the answer to your question is that it's better. As far as stability, I only have it on a few production servers, and I haven't gotten any reports from people. I can't really say except from my own experience, which is that it has not caused any problems. - -- /* Matt BrookingsGnuPG Key D9414F70 Software developer Systems technician Inter7 Internet Technologies, Inc. (815)776-9465 */ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAknblm4ACgkQ6QgvSNlBT3DC9wCfTklzvYVCGVMM1KMertA80F0J WkwAn22POFaiL9vy0qZXPXYXb9ocmqTv =ClUG -END PGP SIGNATURE-
Re: [vchkpw] vusaged question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wouter van der Schagt wrote: >> Now I'm totally lost. What do you mean by delimited values? > > My apologies, what i meant with the delimited output was: > > Query daemon with: '@domain'. > Output: > > i...@domain,129387 > pe...@domain,19273 > ja...@domain,102938 > > Where the output is comma delimited as mailbox,storage_used That's not how the client API works. Take a look at vusagec.c in the root directory in the 5.5 branch. It shows how the client API works. - -- /* Matt BrookingsGnuPG Key D9414F70 Software developer Systems technician Inter7 Internet Technologies, Inc. (815)776-9465 */ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAknbnFMACgkQ6QgvSNlBT3DYJwCgrTlNdTZD1jFA1Oculle4anNZ z0MAnia7IhqPMG3V3mMn4IaW3hCaIR90 =4cvW -END PGP SIGNATURE-
Re: [vchkpw] vusaged question
Now I'm totally lost. What do you mean by delimited values? My apologies, what i meant with the delimited output was: Query daemon with: '@domain'. Output: i...@domain,129387 pe...@domain,19273 ja...@domain,102938 Where the output is comma delimited as mailbox,storage_used Sincerely, - Wouter van der Schagt !DSPAM:49db996a32681978456759!
Re: [vchkpw] vusaged question
You are correct. It can also return usage for a particular domain. Instead of querying with 'u...@domain', query with '@domain'. Great, does this return 1 value (i suppose so), or a comma delimited range mailbox, storage used...or is this is easy to make and iterate ourselves.. Is that what you were looking for, or were you looking for something more specific? No, this would pretty much cover the functionality we need. Perhaps an option for the delimited values as described above would be a nice addition. Other than that it is great. Is 5.5 the first version in which this will become available? How stable is the 5.5 branch compared with 5.4.25 that we are using now with regards to standard functionality with Maildir++ support. Sincerely, - Wouter van der Schagt !DSPAM:49db8d6e32685688614046!
Re: [vchkpw] vusaged question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wouter van der Schagt wrote: > Good morning all, > > Am I correct in assuming the the vusaged can be used for retrieving the > current amount of storage used of a particular mailbox? If so, where You are correct. It can also return usage for a particular domain. Instead of querying with 'u...@domain', query with '@domain'. > does this information come from, is it the actual size used on the disk > or is it based on a Maildir calculation? Is there any information / > documentation for this available already? Basically, it's adding up the contents of a user's Maildir and caching this information. It then updates this cache with changes it sees. It's a bit more complicated than that, but that's essentially what it's doing. As far as how it calculates Maildirs, it will use the Maildir++ formatted filenames to cut down on stat() calls. You can enable and disable this in vusaged.conf, but it's on by default. It also optionally evaluates the size of directory entries -- again, on by default. So, if a user has 100k files in a single Maildir directory, the 'new' or 'cur' directory entry will be quite large; it will factor this in. Is that what you were looking for, or were you looking for something more specific? - -- /* Matt BrookingsGnuPG Key D9414F70 Software developer Systems technician Inter7 Internet Technologies, Inc. (815)776-9465 */ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAknbZW8ACgkQ6QgvSNlBT3DLqgCffA/h6WB2bf7l5KETdtdtG9C4 wFoAn00D0cxRHpGoF/eDx4XjvWh2q1FG =DiVj -END PGP SIGNATURE-
[vchkpw] vusaged question
Good morning all, Am I correct in assuming the the vusaged can be used for retrieving the current amount of storage used of a particular mailbox? If so, where does this information come from, is it the actual size used on the disk or is it based on a Maildir calculation? Is there any information / documentation for this available already? Sincerely, - Wouter van der Schagt !DSPAM:49db60b532682635016810!