diff --git a/INSTALL b/INSTALL index 682c5f73c..21b1f4b4c 100644 --- a/INSTALL +++ b/INSTALL @@ -371,11 +371,14 @@ If you use version prior to 1.1, add also the following configuration:: quota = :storage=10240 } -Then modify the above user_query inside dovecot-sql.conf file like -that to activate per user quotas:: +Then modify the above user_query inside dovecot-sql.conf as follow to +activate per user quotas:: user_query = SELECT path AS home, uid, gid, concat(':storage=', quota / 1024) AS quota FROM admin_mailbox WHERE full_address = '%u' +If you are not using MySQL, you will have to replace the 'concat' +function call with something working in your database. + For version >= 1.1, put the following configuration inside dovecot.conf file:: plugin {