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
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.
I'd certainly appreciate any help.
Thanks.
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.
On Thu, 2008-11-06 at 16:09 +0200, Timo Sirainen wrote:
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.
Oh, and mail_debug=yes as well so it shows what the quota really sees as its configuration.
OK thanks for replying, I am attaching both files with the information.
On Thu, Nov 6, 2008 at 9:09 AM, Timo Sirainen tss@iki.fi wrote:
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.
participants (2)
-
Peter Fraser
-
Timo Sirainen