New created users can not log in

Ferdinand Gruber ferdinand.gruber at telering.at
Thu Sep 17 10:03:38 UTC 2015


Am 16.09.2015 um 23:34 schrieb Ferdinand Gruber:
> 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.
>
I could solve the problem.

There was no mail folder in the home directory of the new user.
Now I copied the folder ~/mail from a previous existing user to /etc/skel.

This seems to solve the problem. New created users are able to log in.

-- 
Ferdinand Gruber
fer.gru at aon.at
00 43 7249 48737
00 43 650 542 88 33
Grieskirchner Straße 22
4701 Bad Schallerbach



More information about the dovecot mailing list