Hello !
Like many people who are posting here, I'm a bit in "trouble" to convert my
actual v2.3 config that is perfectly functional to the new v2.4
I've read the doc, searched on this list and everywhere I could find something
among search engine results, and I still can't figure out how to solve my
problem. The lack of examples right now is probably what is blocking me, so..
can anyone here with sharp knowledge of v2.4 configuration "translate" this
official v2.3 example into a working v2.4 example ? ( ref:
https://doc.dovecot.org/2.3/configuration_manual/quota/quota_dict/ )
Server-based Dictionaries
--------------------------------------
plugin {
# SQL backend:
quota = dict:User quota::proxy::sqlquota
# Redis backend (v2.1.9+):
quota = dict:User quota::redis:host=127.0.0.1:prefix=user/
quota_rule = *:storage=10M:messages=1000
}
dict {
sqlquota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
}
============================
Example dovecot-dict-sql.conf.ext:
--------------------------------------------------
connect = host=localhost dbname=mails user=sqluser password=sqlpass
map {
pattern = priv/quota/storage
table = quota
username_field = username
value_field = bytes
}
map {
pattern = priv/quota/messages
table = quota
username_field = username
value_field = messages
}
Thanks a million times to whoever can do that ! :)
Lon.
_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]