On Thu, 2011-02-03 at 07:50 +0100, rastik@tereus.eu wrote:
dovecot: auth-worker(default): sql(joe@mydomain.com,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 = 'joe@mydomain.com' AND active = 1 dovecot: auth(default): client out: OK 1 user=joe@mydomain.com
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(joe@mydomain.com,myipaddr): success dovecot: auth(default): master out: USER 11 joe@mydomain.com
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_.