I have two users working fine. Tried to add a third and it refuses to accept log on details. I've stripped everything back to default config, and still only the first two users are accepted! Can't understand it and it's driving me crazy. I've deleted and created the user a thousand times, and opened the config up as wide as possible. I'm obviously doing something stupid but what! # OS: Linux 3.2.0-4-686-pae i686 Debian 7.2 auth_mechanisms = plain login digest-md5 rpa base_dir = /var/run/dovecot/ disable_plaintext_auth = no login_trusted_networks = 10.0.0.0/8 passdb { driver = pam } protocols = imap service auth { user = root } ssl_cert = </etc/ssl/certs/server.pem ssl_key = </etc/ssl/private/mail.key userdb { driver = passwd } -- View this message in context: http://dovecot.2317879.n4.nabble.com/Authentication-woes-passwd-standard-install-tp47265.html Sent from the Dovecot mailing list archive at Nabble.com.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 26 Mar 2014, medicineme wrote:> I have two users working fine. Tried to add a third and it refuses to accept > log on details. > > I've stripped everything back to default config, and still only the first > two users are accepted! Can't understand it and it's driving me crazy. I've > deleted and created the user a thousand times, and opened the config up as > wide as possible. I'm obviously doing something stupid but what!if just the third won't work, something must be wrong with it. What does the log says, when the user logs in? Did you tested the account without client setup via telnet: telnet localhost 143 1 login 3rd_user "password" 2 logout You are using pam, what does /var/log/auth [or whereever PAM logs to] says? Did you've enabled mail_debug and auth_debug for testing?> # OS: Linux 3.2.0-4-686-pae i686 Debian 7.2Doesn't look like you've used doveconf -n to dump the config, what version of Dovecot are you using?> auth_mechanisms = plain login digest-md5 rpa > base_dir = /var/run/dovecot/ > disable_plaintext_auth = no > login_trusted_networks = 10.0.0.0/8 > passdb { > driver = pam > } > protocols = imap > service auth { > user = root > } > ssl_cert = </etc/ssl/certs/server.pem > ssl_key = </etc/ssl/private/mail.key > userdb { > driver = passwd > } > > > > > -- > View this message in context: http://dovecot.2317879.n4.nabble.com/Authentication-woes-passwd-standard-install-tp47265.html > Sent from the Dovecot mailing list archive at Nabble.com. >- -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEVAwUBUzUp8nD1/YhP6VMHAQJIlggAiOcaI57NsjvKz8sCseXKWcTsRn8Gyd9G AldyFIg2QcP6++Vb27W5MXfXBmkKvtaKyv7DPr6eU+WBLw7b6J/PW+LcP0rZ3PwA 8ftjmfjK0iifLPYLevcd2+79q6Z/YiHXSZW49EFMQwafDds9WbxZG6INKu2/jqBm ad6kFkBIl/Px5KJgGf3vO7cqGsa72tImkXJr7QZw6UvxISe3OXBZw7CbbIeuGi6p 6ENDeZjmctkylUsjx7bj26BLKjTFevb97mjbTz9IGxNOqgWUcJvVfXJ1OKY77UR+ N1j36EOGrQ9nq2vr6+E19rIv28IWwQf7EN9KoEvxvCbvh5/J7Pm1Eg==h6QH -----END PGP SIGNATURE-----
Steffen Kaiser
2014-Mar-28 07:51 UTC
[Dovecot] Authentication woes, passwd standard install
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 26 Mar 2014, medicineme wrote:> I have two users working fine. Tried to add a third and it refuses to accept > log on details. > > I've stripped everything back to default config, and still only the first > two users are accepted! Can't understand it and it's driving me crazy. I've > deleted and created the user a thousand times, and opened the config up as > wide as possible. I'm obviously doing something stupid but what!if just the third won't work, something must be wrong with it. What does the log says, when the user logs in? Did you tested the account without client setup via telnet: telnet localhost 143 1 login 3rd_user "password" 2 logout You are using pam, what does /var/log/auth [or whereever PAM logs to] says? Did you've enabled mail_debug and auth_debug for testing?> # OS: Linux 3.2.0-4-686-pae i686 Debian 7.2Doesn't look like you've used doveconf -n to dump the config, what version of Dovecot are you using?> auth_mechanisms = plain login digest-md5 rpa > base_dir = /var/run/dovecot/ > disable_plaintext_auth = no > login_trusted_networks = 10.0.0.0/8 > passdb { > driver = pam > } > protocols = imap > service auth { > user = root > } > ssl_cert = </etc/ssl/certs/server.pem > ssl_key = </etc/ssl/private/mail.key > userdb { > driver = passwd > } > > > > > -- > View this message in context: http://dovecot.2317879.n4.nabble.com/Authentication-woes-passwd-standard-install-tp47265.html > Sent from the Dovecot mailing list archive at Nabble.com. >- -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEVAwUBUzUp8nD1/YhP6VMHAQJIlggAiOcaI57NsjvKz8sCseXKWcTsRn8Gyd9G AldyFIg2QcP6++Vb27W5MXfXBmkKvtaKyv7DPr6eU+WBLw7b6J/PW+LcP0rZ3PwA 8ftjmfjK0iifLPYLevcd2+79q6Z/YiHXSZW49EFMQwafDds9WbxZG6INKu2/jqBm ad6kFkBIl/Px5KJgGf3vO7cqGsa72tImkXJr7QZw6UvxISe3OXBZw7CbbIeuGi6p 6ENDeZjmctkylUsjx7bj26BLKjTFevb97mjbTz9IGxNOqgWUcJvVfXJ1OKY77UR+ N1j36EOGrQ9nq2vr6+E19rIv28IWwQf7EN9KoEvxvCbvh5/J7Pm1Eg==h6QH -----END PGP SIGNATURE-----