INSTALL: Use the %L modifier for %u variable in password_query
and user_query.
--- 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