> >I don't believe the "Sent" folder keeps track of any size.
  > >I looked and don't see any "maildirsize" files in "Sent" folders.
  > >So it doesn't look like it counts against either user or domain
  > >quotas.  You'll have to take a look at the spec to be sure.
  > >I don't believe the Trash folder keeps track of size either.
  > 
  > It does, I'm sure. You may disable it (for example in sqwebmail and likely 
  > courier), but if you're a provider you're going to control all the space 
  > customers are wasting (specially if they are webmail users), including 
  > "Sent", "Trash" and additional folders.

Take a look.  I have IMAP customers and the "Sent"
folders are full.  No maildirsize files in there.

  > >In any case, you can use system quotas if you want to bypass
  > >any/all of this to make sure everything is accounted for.
  > 
  > These problems must be highlighted much more, because people may think this 
  > "vpopmail domain quota" feature could solve all problems transparently, and 
  > this is not true.
  > 
  > I think this feature may be a first step, but must be followed by coherent 
  > changes in other packages, before it may be used in an integrated 
environment.
  > 
  > Ciao,
  > 
  > Tonino
  > 

I agree.  For one, it doesn't take into account the
overhead with directories, control files, and lots more.
None of the "overhead" space is accounted for.

As stated in the courier distribution, only "soft" quotas
are implemented, meaning that the overhead space is ignored.
Read the README.maildirquotas in the courier distribution.
Anything in the Trash folder, as well as any messages "Marked"
for deletion but not yet deleted do not count in the quota.
Things in a "shared" folder also don't count (but if courier
had a concept of "domain" quotas, that could come into play).
The readme file doesn't mention the "Sent" folder, however
from examining the contents, it doesn't appear to keep track
of the size of that folder, nor impose quota constraints
on that.

I only did the domain quotas due to popular demand.  I did
the best I could with the available documentation and coding
conventions out there implementing the maildir++ quotas.  I
personally recommend using system quotas, but that appears to
be very difficult for some users.  I tested the user/domain
quotas using maildir++ quotas and it works fine, however if
you have system quotas as well, they will kick in before the
domain maildir++ quotas since system quotas take into account
the "overhead", Trash'd, and deleted but not expunged space.
Even the courier readme recommends using system quotas.

Brian


Reply via email to