[Dovecot] ldap quota dovecot

Timo Sirainen tss at iki.fi
Tue Sep 29 00:26:08 EEST 2009


On Mon, 2009-09-28 at 23:20 +0200, Mathieu BALCERAK wrote:
> Timo Sirainen a écrit :
> > On Sun, 2009-09-27 at 16:26 +0200, Mathieu BALCERAK wrote:
> >   
> >> I have the same issue, when i upgrade to 1.2.5
> >> the quota per user work only if i remove the directive 
> >> quota_rule=*:storage=2G
> >> I set this rules as default for all my users except for 3 users.
> >> The imap_quota report perfectly the quota but dovecot lda take the 
> >> quota_rule, per user quota
> >> not apply.
> >>     
> >
> > How are you calling deliver?
> >
> >   
> I call the deliver in postfix :
> mailbox_command = /usr/lib/dovecot/deliver

That's the problem.

> I've tested with
> mailbox_command = /usr/lib/dovecot/deliver -d  "$USER"

This will solve your problem.

> but i have this error :
> 
> deliver($USER): Error: userdb lookup: 
> connect(/var/run/dovecot/auth-master) failed: Permission denied

Change the permissions so that it does have access. You can specify the
auth-master permissions in dovecot.conf. I guess you'll have to use
mode=0666.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090928/cfae837d/attachment.bin 


More information about the dovecot mailing list