Getting authentication failures in dovecot even though it's successful
by Red Squirrel from LinuxQuestions.org on (#5SJED)
I am seeing this a lot in the /var/log/secure:
Code:Dec 1 13:09:32 [server] auth: pam_succeed_if(dovecot:auth): error retrieving information about user [validuser]
Dec 1 13:09:38 [server] auth: pam_unix(dovecot:auth): check pass; user unknown
Dec 1 13:09:38 [server] auth: pam_unix(dovecot:auth): authentication failure; logname= uid=0 euid=0 tty=dovecot ruser=[validuser] rhost=127.0.0.1
But thing is, the authentication is actually successful. So why does it say it's failing when it's not? Basically this happens any time I open my web mail or the mail client. I can see the emails, I can receive new emails and everything, the password and user is right, but yet the log keeps showing it as being a failure.
Code:Dec 1 13:09:32 [server] auth: pam_succeed_if(dovecot:auth): error retrieving information about user [validuser]
Dec 1 13:09:38 [server] auth: pam_unix(dovecot:auth): check pass; user unknown
Dec 1 13:09:38 [server] auth: pam_unix(dovecot:auth): authentication failure; logname= uid=0 euid=0 tty=dovecot ruser=[validuser] rhost=127.0.0.1
But thing is, the authentication is actually successful. So why does it say it's failing when it's not? Basically this happens any time I open my web mail or the mail client. I can see the emails, I can receive new emails and everything, the password and user is right, but yet the log keeps showing it as being a failure.