> Howdy list,
  > 
  > I'm just wondering a few things about the new domain wide quotas:
  > 
  > Are these quotas implemented in vdelivermail?
Yes.

  > Or are they implemented with system quotas?

You can do that also if you wish, however you'll need to
supply your own scripts for that.

  > Will I still be able to use maildrop to filter my mail?
I'm unsure about maildrop.  If it delivers the mail via
vdelivermail, then yes, but if it writes directly to the
file system, it needs to be patched to enforce the quotas.
I've updated libvpopmail.a to include the quota code, so
you should be able to patch it if needed.

  > 
  > When are the quotas recalculated? (If maildrop deletes a message,
  > will it throw the quotas off?)

The domain quota code recalculates the quota each time on the fly.
One big benefit now is its use of the maildirsize files, if they're
there.  This is a big performance gain.  But if you don't have anything
creating & maintaining these files (and they don't exist), then the
performance would be pretty bad if people "leave mail on server", and
you constantly have to sum up thousands of files.  I haven't used maildrop,
and I see the maildirsize files in each user's Maildir so I assume
vdelivermail is maintaining them.  You'll need to try it out and see
what kind of performance you get.  In my copy, I have syslog()'s
logging the clock over these and I typically see about 0.001s
when the cache files are there, and up to 7s when they're not (but
then they suddenly appear, so it must be creating them by default).
The 7 seconds was due to a user with a few thousand messages still in there
and no maildirsize file.

Thanks,

Brian


Reply via email to