[Dovecot] Plain password auth issues
Have the following entries in dovecot.conf
auth_userdb = passwd-file /etc/dovecot-passdb auth_passdb = passwd-file /etc/dovecot-passdb
auth_user = dovecot
passwd-file is owned by user and group dovecot
When I try to log in .. I get
dovecot: Feb 19 16:41:30 Error: Logins with UID 0 not permitted (user echo) imap-login: Feb 19 16:41:30 Info: Internal login failure: echo [127.0.0.1] dovecot-auth: Feb 19 16:41:30 Info: Login process 12 disconnected
Any ideas ?
From dovecot.conf :
# Valid UID range for users, defaults to 500 and above. This is mostly # to make sure that users can't log in as daemons or other system users. # Note that denying root logins is hardcoded to dovecot binary and can't # be done even if first_valid_uid is set to 0. #first_valid_uid = 500 #last_valid_uid = 0
nospam wrote:
Have the following entries in dovecot.conf
auth_userdb = passwd-file /etc/dovecot-passdb auth_passdb = passwd-file /etc/dovecot-passdb
auth_user = dovecot
passwd-file is owned by user and group dovecot
When I try to log in .. I get
dovecot: Feb 19 16:41:30 Error: Logins with UID 0 not permitted (user echo) imap-login: Feb 19 16:41:30 Info: Internal login failure: echo [127.0.0.1] dovecot-auth: Feb 19 16:41:30 Info: Login process 12 disconnected
Any ideas ?
On Sun, 2006-02-19 at 16:46 -0500, nospam wrote:
Have the following entries in dovecot.conf
auth_userdb = passwd-file /etc/dovecot-passdb auth_passdb = passwd-file /etc/dovecot-passdb .. dovecot: Feb 19 16:41:30 Error: Logins with UID 0 not permitted (user echo)
This most likely means that you have only username and password set in the passwd files. You'll need to set uid and gid for each user also, just like in real passwd files. Or alternatively you could use auth_userdb = static.
The static approach did the trick. Thanks !
On Mon, 2006-02-20 at 18:02 +0200, Timo Sirainen wrote:
On Sun, 2006-02-19 at 16:46 -0500, nospam wrote:
Have the following entries in dovecot.conf
auth_userdb = passwd-file /etc/dovecot-passdb auth_passdb = passwd-file /etc/dovecot-passdb .. dovecot: Feb 19 16:41:30 Error: Logins with UID 0 not permitted (user echo)
This most likely means that you have only username and password set in the passwd files. You'll need to set uid and gid for each user also, just like in real passwd files. Or alternatively you could use auth_userdb = static.
participants (4)
-
Brad
-
Nick
-
nospam
-
Timo Sirainen