[Dovecot] [Re: Dovecot - with LDAP auth backend]

Timo Sirainen tss at iki.fi
Wed Mar 21 20:46:23 EET 2007


On Tue, 2007-03-20 at 12:46 +0800, Shahmat Dahlan wrote:
> Hi Timo,
> 
> What I did actually was change option (D) to the following below, or do I have to remove this one altogether?
> 
> plugin {
>    quota = maildir
> }

If the quota is returned always by LDAP userdb, then it doesn't matter
at all if this is set or not, because it's always overridden.

> Then added the attribute mailquota=10240 as I had defined in my dovecot schema
..
> > > (E) in my /etc/dovecot-ldap.conf
> > > user_attrs =  
> > > homeDirectory=home,uidNumber=uid,gidNumber=gid,mailquota=quota

If your mailquota has only 10240, it gives Dovecot "quota=10240" setting
which doesn't work.

> See the LDAP example at the bottom of http://wiki.dovecot.org/Quota

See the examples here. You must have it return
"quota=maildir:storage=10240" it Dovecot, one way or another.

mail_debug=yes could be helpful in looking at how Dovecot sees the
"quota" value.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070321/4c10a713/attachment.pgp 


More information about the dovecot mailing list