From 001b0132f445f43d90d1c32ff61158d72b8dc20e Mon Sep 17 00:00:00 2001 From: tonio Date: Wed, 24 Nov 2010 10:32:50 +0100 Subject: [PATCH] Documentation update. --- INSTALL | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 {