[Dovecot] login_user & first_valid_uid

Jakob Hirsch jh at plonk.de
Sun Oct 30 14:01:09 EET 2005


Alexander Shikoff wrote:

> password_query = SELECT `password` FROM `users` WHERE login = '%Lu'
> user_query = SELECT "mbox:/var/mail/virtual/%Ld/L%n:INBOX=/var/mail/virtual/%Ld/L%n:INDEX=MEMORY" AS `mail`, 'dovecot' AS `uid`, 'dovecot' AS `gid` FROM users WHERE login = '%Lu'

So you seem to use a 0.99 version, right?
Just an idea: Did you try to use numerical uid/gid instead of "dovecot"?

btw, you could even spare the second query with "auth_userdb = static
..." (though I'm not sure, 0.99 time is a while ago...)



More information about the dovecot mailing list