On Thu, 2011-02-03 at 07:50 +0100, [email protected] wrote: > dovecot: auth-worker(default): sql([email protected],myipaddr): query: > SELECT CONCAT('/var/mail/', maildir) AS userdb_home, username as user, > password, CONCAT('*:bytes=', quota) AS userdb_quota_rule, uid, gid > FROM mailbox WHERE username = '[email protected]' AND active = 1 > dovecot: auth(default): client out: OK 1 [email protected] > uid=1000 gid=12
It's returning uid and gid to login process as a reply to passdb query. They're ignored by login process. > dovecot: auth(default): master in: REQUEST 11 17252 1 > dovecot: auth(default): prefetch([email protected],myipaddr): success > dovecot: auth(default): master out: USER 11 [email protected] > home=/var/mail/mydomain.com/joe/ quota_rule=*:bytes=-1 They should be here as a reply to userdb query. So: Prefix uid and gid and with userdb_.
