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
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
> 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
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
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
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
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