On Sat, 4 Aug 2001, Claudio Jeker wrote:

> qmail-ldaps qmail-local will recalculate the maidirsize file when the
> quota get's changed. When you read the maildir++.README of courier-imap

I use maildrop as my default delivery, so qmail-local has nothing to do
with it. 
Maildrop behavior is strange - if I change quota, maildorp reacts
immediatly, as it (after little patching) uses env variable. 
But maildrop doesn't check if it's consistent with first line of 
maildirsize. Until rebuilding of maildirsize file, it's not in sync with
actual quota definitions. And it hits IMAP.

So actually, after changing quota, I have to remove maildirsize, or force
it's regenration in any other way.

> you will see that the quotasupport is not perfect. When multiple agents
> accsess the maildir (and modifing it) concurrent the maildirsize file will
> be deleted (to avoid a racecondition).

Yeah, I know :|

> It is also so that neither pop nor imap need the possibility to get the
> quota settings from ldap. They do not need it because normaly you will not
> inject messages with imap or pop.

Pop is never a problem. However, user can start IMAP session before first
delivery. Custom qmail-dirmaker creates maildir for me, in theory it can
initialize maildirsize as well, but it has no knwoledge about quota
definition, without quering LDAP.

<feature proposal>
Let auth_* put quota definiton from LDAP into some env variable, or both
IMAP daemon and qmail-dirmaker 
It would be more flexible then
</feature proposal> 
 
-=Czaj-nick=-


Reply via email to