Displaying 1 result from an estimated 1 matches for "domain_user_quota".
Did you mean:
domain_user_quotas
2012 Jul 11
1
MySQL dict issues
...e=10G
quota_rule2 = Trash:storage=+10%
}
plugin {
quota = dict:user::proxy::userquota
}
dict {
userquota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
}
dovecot-dict-sql.conf.ext:
connect = host=a.b.c.d dbname=mail user=user password=derp
map {
pattern = priv/quota/storage
table = domain_user_quotas
username_field = username
value_field = bytes
}
map {
pattern = priv/quota/messages
table = domain_user_quotas
username_field = username
value_field = message_count
}
The last issue might be a documentation omission. Dovecot warned me
that the mysql user did not have DELETE pr...