On 09/16/2015 23:34, Ferdinand Gruber wrote:
Hi,
I am using dovecot 2.2 for some time. All users on the system can log in using Horde Webmail.
But now, after creating a new user on the server with <useradd -m username> this new user is not able to log in. Of course I have set a password for the new user.
In the log file I can see: Sep 16 23:04:05 servername auth: gkr-pam: error looking up user information Sep 16 23:04:07 servername HORDE: [imp] [login] Authentication failed. [pid 1584 on line 730 of "/srv/www/htdocs/horde/imp/lib/Imap.php"] Sep 16 23:04:07 servername HORDE: [imp] FAILED LOGIN for calendar (93.82.157.132) to {imap://localhost/} [pid 1584 on line 157 of "/srv/www/htdocs/horde/imp/lib/Auth.php"] Sep 16 23:04:07 servername HORDE: [horde] FAILED LOGIN for calendar to horde (93.82.157.132) [pid 1584 on line 199 of "/srv/www/htdocs/horde/login.php"]
Please give me a hint. Please raise the logging level of the auth section in 10-logging.conf (auth_verbose=yes, auth_verbose_passwords=yes, auth_debug=yes, auth_debug_passwords=yes) and reload Dovecot.
Then test login using fetchmail: # fetchmail --check --nodetach --protocol IMAP --all --keep --username <email@adress> <IP>
And send the relevant log from the IMAP server (probably /var/log/syslog), not the log of the webserver.
Greetings Daniel