[Dovecot] Is '*:bytes=" quota specification the quota 'Value', or 'Limit'?

Rich pgnet.dev+rich-dovecot at gmail.com
Wed Oct 19 18:54:33 EEST 2011


Docs for quota configuration

  http://wiki2.dovecot.org/Quota/Configuration#Limit_configuration

state that the 'bytes=' specification defines the quota **LIMIT**

    "bytes: Quota limit in bytes, 0 means unlimited"

as used in

  plugin {
    ...
    quota_rule = *:bytes=10000000
    ...


BUT, documentation for quota dict

    http://wiki2.dovecot.org/Quota/Dict

states

    "MySQL uses the following queries to update the quota"

and provides an SQL example of Dovecot decrementing the 'bytes' value,

    "UPDATE table SET bytes=bytes-14433,messages=messages-2 ..."

I'm working on a current problem
(http://dovecot.org/list/dovecot/2011-October/061538.html) with
'doveadm' reporting mixing up quote Value & Limit.

Question:  Is 'bytes' supposed to contain the Value, or the Limit?

Rich



More information about the dovecot mailing list