INSTALL: Use the %L modifier for %u variable in password_query
authorPascal Volk <neverseen@users.sourceforge.net>
Thu, 13 Jan 2011 12:48:30 +0000
changeset 364 cfd29e65e4f2
parent 258 9bf8d97ced88
child 365 61fdd77d2e65
child 465 c0e1fb1b0145
INSTALL: Use the %L modifier for %u variable in password_query and user_query.
INSTALL
--- a/INSTALL	Tue Apr 20 02:59:08 2010 +0000
+++ b/INSTALL	Thu Jan 13 12:48:30 2011 +0000
@@ -96,8 +96,8 @@
     driver = pgsql
     connect = host=localhost dbname=mailsys user=dovecot password=$Dovecot_PASS
     default_pass_scheme = PLAIN
-    password_query = SELECT "user", password FROM dovecot_password WHERE "user"='%u' AND %Ls
-    user_query = SELECT home, uid, gid, 'maildir:'||mail AS mail FROM dovecot_user WHERE userid = '%u'
+    password_query = SELECT "user", password FROM dovecot_password WHERE "user"='%Lu' AND %Ls
+    user_query = SELECT home, uid, gid, 'maildir:'||mail AS mail FROM dovecot_user WHERE userid = '%Lu'
 
 Provide a root SETUID copy of Dovecot's deliver agent for Postfix