[Dovecot] Per User Quotas

Timo Sirainen tss at iki.fi
Thu Nov 6 16:09:15 EET 2008

On Thu, 2008-11-06 at 09:02 -0500, Peter Fraser wrote:
> HI All
> Asking for a little patience and a bit of help here. I'm using
> dovecot-1.1.3_1 with postfix and squirrelmail. I have implemented a global
> quota successfully. That works fine. I want to now implement per user
> quotas. So far I have read the howto in the documentation and searched
> several threads but can't seem to get it working properly. My LDAP server is
> Windows 2003 Active Directory.
> Is there any documentation specific to AD that I could look at or any other
> doc that could help me?
> My last effort was to put this in dovecot-ldap.conf
> user_attrs = streetAddress=quota_rule4=*:storage=%$M
> ,=uid=1002,=gid=1002,=home=/home/vmail/%u

You can also define the uid and gid with mail_uid and mail_gid settings
in dovecot.conf.

> and this in dovecot.conf in addition to the other quota rules.
> quota_rule4 = *:bytes=%$
> I then put the quota in the streetAddress area of AD.

Sounds like it would work. Why doesn't it? Set auth_debug=yes and show
logs. Also show dovecot -n output.

-------------- 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/20081106/668ad8b1/attachment.bin 

More information about the dovecot mailing list