Hi Timo, et al, I'm using Dovecot 2.2.2, with dict file based quota and a quota_rule in dovecot.conf. I have userdb configured like so: userdb { driver = passwd-file args = /etc/dovecot/passwd-file } userdb { driver = passwd } I get the behavior I want with a single line in the passwd-file for any users that I'd like to override the default quota. BUT, if I list the userdb sections in the reverse order, with the driver=passwd first, then the quotas in passwd-file are ignored. I have a feeling I am counting on undocumented behavior that might change in the future. Or is this okay to depend on? Thanks, Ken -- Ken Anderson Pacific Internet - http://www.pacific.net
Ah, it looks like this is by design. Great. http://wiki2.dovecot.org/Authentication/MultipleDatabases It wasn't mentioned as a solution on http://wiki2.dovecot.org/Quota/Configuration#passwd-file so I missed it. Ken On 5/24/2013 2:09 PM, Ken A wrote:> Hi Timo, et al, > > I'm using Dovecot 2.2.2, with dict file based quota and a quota_rule in > dovecot.conf. I have userdb configured like so: > > userdb { > driver = passwd-file > args = /etc/dovecot/passwd-file > } > userdb { > driver = passwd > } > > I get the behavior I want with a single line in the passwd-file for any > users that I'd like to override the default quota. BUT, if I list the > userdb sections in the reverse order, with the driver=passwd first, then > the quotas in passwd-file are ignored. > > I have a feeling I am counting on undocumented behavior that might > change in the future. Or is this okay to depend on? > > Thanks, > Ken >-- Ken Anderson Pacific Internet - http://www.pacific.net
Seemingly Similar Threads
- flat file in tmpfs for dict quota
- deliver w/quotas - MDN after accept mail?
- Dovecot 2.2.4 : Panic: file pop3-client.c: line 585 (client_default_destroy): assertion failed: (client->cmd == NULL)
- trouble deleting folders that only contain folders
- dovecot 1.05 err: Reason Given: Mailbox isn't a valid mbox file