[Dovecot] login_user & first_valid_uid

Alexander Shikoff minotaur at crete.org.ua
Sun Oct 30 13:27:08 EET 2005


On Sun, Oct 30, 2005 at 10:40:41AM +0100, Jakob Hirsch wrote:
> Alexander Shikoff wrote:
> 
> > first_valid_uid = 100
> > first_valid_gid = 100
> 
> and last_valid_uid/last_valid_gid?
Neither last_valid_uid nor last_valid_gid are not set.

But when I set them both to 102 the behaviour does not change.

> 
> So uid 101 is "elnino", not "dovecot". Or did you assign this uid to
> both users?

No. User elnino placed in MySQL database. And two queries are used:

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 I'm still getting next messages in log file:
Oct 30 13:26:39 orion dovecot: Logins with login process UID 101 (user sl) not permitted (see login_user in config file).
Oct 30 13:26:39 orion dovecot: auth(default): Growing pool 'plain_auth_request' with: 1024

:(

-- 
Kind Regards,	Alexander Shikoff
minotaur at crete.org.ua
Mob.: +380 67 946 31 49



More information about the dovecot mailing list