Re: [Dovecot] Per User Quotas

2009-10-16 Thread thedoghousemailcom

Hi Peter,

please insert 1024M in the description field in active directory.

Greetings



And of course, I put in a users description field in Active Directory
*:bytes=%1024

When I log in as that user, and check the quota, I'm still seeing 512 MB

Very strange.

  





Re: [Dovecot] Per User Quotas

2009-10-15 Thread thedoghousemailcom

Hi Peter + Timo,

I think the solution is the right order in dovecot.conf:

userdb ldap should stand in front of userdb static.

Greetings



Timo Sirainen schrieb:

On Wed, 2009-10-14 at 21:18 -0500, Peter Fraser wrote:
  

  userdb:
driver: static
args: uid=1002 gid=1002 home=/home/vmail/%u allow_all_users=yes



This catches all userdb lookups.

  

  userdb:
driver: passwd
args: blocking=yes



This is never used. You probably want to comment it out.

  

user_attrs = 
homeDirectory=/home/vmail/%u,uidNumber=1002,gidNumber=1002,streetAddress=quota_rule=*:storage=%$M



These aren't used, because you're using userdb static instead of userdb
ldap.