On Fri, Sep 05, 2003 at 01:32:40PM +0200, Stephan Sachse wrote:
> Hi,
> 
> I have some problems with the maildirsize file.
> 
> I have set deliveryProgramPath: /usr/bin/maildrop
> 

<snip>

> i have set some quotavalues
> 
>   mailQuotaSize: 1048576
>   mailQuotaCount: 20
> 
> but the maildirsize file in $HOME/Maildir is missing.
> 
> when i delete the "deliveryProgramPath" attribut all works fine and the
> maildirsize file is created. The i set the "deliveryProgramPath" again
> und maildrop works fine withe quota. But when i change the quotavalues
> then the maildirsize file is not updated. it contains always the values
> from delivery without "deliveryProgramPath". When i remove the
> "deliveryProgramPath" again the maidirsize file is uptodate.
> 
> i look at the env vars during delivering with a little "debug pipe". The
> var "MAILDIRQUOTA" has a correckt value of "1048576S,35C" after i change
> the quota in LDAP. But maildrop ignores this value and always use this
> found in maildirsize.
> 
> is there a way to handle this without removing the
> "deliveryProgramPath".
> 
> 
> i use following versions:
> + qmail-ldap-1.03-20030801a.patch.gz
> + smtp-auth-20030801.patch
> + maildrop-1.6.0.tar.bz2
> 

That's a maildrop problem. Maildrop does not respect the MAILDIRQUOTA env
on startup. As you said qmail-ldap does update the quota on a
local delivery. If there is no local delivery qmail-ldap does no quota
update, it's the called program business to update the quota.

-- 
:wq Claudio

Reply via email to