From b3de73faa214813270edb6c9e365faafd3e818b0 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 9 Aug 2010 23:00:48 -0300 Subject: Changing dovecot auth settings --- templates/dovecot/dovecot-sql.conf.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/dovecot/dovecot-sql.conf.erb') diff --git a/templates/dovecot/dovecot-sql.conf.erb b/templates/dovecot/dovecot-sql.conf.erb index d4162e2..1ddb76c 100644 --- a/templates/dovecot/dovecot-sql.conf.erb +++ b/templates/dovecot/dovecot-sql.conf.erb @@ -113,7 +113,7 @@ password_query = SELECT username AS user,password FROM mailbox WHERE username = # user_query = SELECT home, 501 AS uid, 501 AS gid FROM users WHERE userid = '%u' # #user_query = SELECT home, uid, gid FROM users WHERE userid = '%u' -user_query = SELECT maildir, 1001 AS uid, 1001 AS gid FROM mailbox WHERE username = '%u' AND active='1' +user_query = SELECT maildir, 5000 AS uid, 5000 AS gid FROM mailbox WHERE username = '%u' AND active='1' # If you wish to avoid two SQL lookups (passdb + userdb), you can use # userdb prefetch instead of userdb sql in dovecot.conf. In that case you'll -- cgit v1.2.3