Re: [Dovecot] Quota not working with dict proxy

2013-05-16 Thread Chris Richards
On Wed, May 15, 2013 9:15 pm, Daniel Parthey wrote: > map { > pattern = priv/quota/storage # dictionary for storage bytes > table = quota # table where to write storage count > username_field = username # username of whom storage should be > counted > val

Re: [Dovecot] Quota not working with dict proxy

2013-05-15 Thread Daniel Parthey
Chris Richards wrote: > Is there any documentation that goes into more detail regarding the 'map' > settings, what they mean, etc., of which you are aware? > hoping to avoid digging through the code just to satisfy my curiosity. I couldn't find much in the docs: http://wiki.dovecot.org/Quota/Dict

Re: [Dovecot] Quota not working with dict proxy

2013-05-15 Thread Chris Richards
> Are you using the same SQL table "email" for user lookup > and quota/storage accounting? > > Try to use two different tables for user and quota database, because the > quota > accounting might have deleted an entry from the "user" table while it only > tried to delete a row from the "quota" table

Re: [Dovecot] Quota not working with dict proxy

2013-05-13 Thread Chris Richards
On Mon, May 13, 2013 5:55 pm, Daniel Parthey wrote: > Are you using the same SQL table "email" for user lookup > and quota/storage accounting? > > Try to use two different tables for user and quota database, because the > quota > accounting might have deleted an entry from the "user" table while it

Re: [Dovecot] Quota not working with dict proxy

2013-05-13 Thread Daniel Parthey
Chris Richards wrote: > Attempting to recalc quota on one account using command: > "doveadm -f tab quota recalc -u user@domain" > returns with nothing, and when I repeat 'quota get' command, it says: > doveadm(user@domain): Fatal: User doesn't exist > > Indeed, looking in the database shows the ac

Re: [Dovecot] Quota not working with dict proxy

2013-05-12 Thread Chris Richards
On Sun, May 12, 2013 12:24 pm, Chris Richards wrote: > Hello all, > I'm sure this has been covered somewhere before, but my googlefu is not up > to the challenge. More info; this is the debug output from the doveadm command: doveadm -Df tab quota recalc -u 'user@domain' doveadm(root): Debug: L

[Dovecot] Quota not working with dict proxy

2013-05-12 Thread Chris Richards
Hello all, I'm sure this has been covered somewhere before, but my googlefu is not up to the challenge. Basically, I'm trying to configure quota plugin to use a dictionary service (specifically proxy with mysql) so that I can store the quota usage in a database and use that information in a lookup