[dovecot-cvs] dovecot/doc dovecot-ldap.conf, 1.9, 1.10 dovecot-sql.conf, 1.6, 1.7

cras at dovecot.org cras at dovecot.org
Tue Jul 12 21:14:47 EEST 2005


Update of /var/lib/cvs/dovecot/doc
In directory talvi:/tmp/cvs-serv8334

Modified Files:
	dovecot-ldap.conf dovecot-sql.conf 
Log Message:
Updates



Index: dovecot-ldap.conf
===================================================================
RCS file: /var/lib/cvs/dovecot/doc/dovecot-ldap.conf,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- dovecot-ldap.conf	5 Jun 2005 21:39:52 -0000	1.9
+++ dovecot-ldap.conf	12 Jul 2005 18:14:44 -0000	1.10
@@ -40,7 +40,8 @@
 #  System GID
 #user_attrs = uid,homeDirectory,,,uidNumber,gidNumber
 
-# Filter for user lookup. Some variables can be used:
+# Filter for user lookup. Some variables can be used (see
+# http://wiki.dovecot.org/Variables for full list):
 #   %u - username
 #   %n - user part in user at domain, same as %u if there's no domain
 #   %d - domain part in user at domain, empty if user there's no domain

Index: dovecot-sql.conf
===================================================================
RCS file: /var/lib/cvs/dovecot/doc/dovecot-sql.conf,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- dovecot-sql.conf	5 Jun 2005 21:39:52 -0000	1.6
+++ dovecot-sql.conf	12 Jul 2005 18:14:44 -0000	1.7
@@ -61,10 +61,15 @@
 # same casing as it's in database. The query can also return other fields
 # which have a special meaning, see http://wiki.dovecot.org/AuthSpecials
 #
-# Available substitutions:
+# Commonly used available substitutions (see
+# http://wiki.dovecot.org/Variables for full list):
 #   %u = entire userid
 #   %n = user part of user at domain
 #   %d = domain part of user at domain
+# 
+# Note that these can be used only as input to SQL query. If the query outputs
+# any of these substitutions, they're not touched. Otherwise it would be
+# difficult to have eg. usernames containing '%' characters.
 #
 # Example:
 #   password_query = SELECT password FROM users WHERE userid = '%n' AND domain = '%d'



More information about the dovecot-cvs mailing list