[Dovecot] pam auth fail considered mail.error?
Hello all,
Following the Dovecot wiki and migration help, we recently migrated our core IMAP systems from Courier to Dovecot on Solaris. So far it's been working great, but I have one issue that I'm curious about. Just as the docs mention, we also use "syslog_facility = mail" for logging. Unlike in the past, failed PAM auth attempts are now getting logged as mail.error:
Nov 24 08:34:34 xxx.xxx.xxx.xxx dovecot: [ID 107833 mail.error] auth-worker(default): pam(dhalik,xxx.xxx.xxx.xxx): pam_authenticate() failed: Authentication failed
Is there a reason for this, or a way to configure this behavior? mail.error is a little harsh for pam auth failures and I would think that the auth channel would be used instead similar to other processes (sshd, courier, etc) I'd like to continue using the mail facility, but if every time there is an auth error Dovecot reports to mail.error, my consoles and legitimate error logs are going to be full of something considered a non-issue by most.
Any help is appreciated, thanks. -Dave
--
David Halik System Administrator OIT-CSS Rutgers University dhalik@jla.rutgers.edu
On Mon, 2008-11-24 at 10:45 -0500, David Halik wrote:
Nov 24 08:34:34 xxx.xxx.xxx.xxx dovecot: [ID 107833 mail.error] auth-worker(default): pam(dhalik,xxx.xxx.xxx.xxx): pam_authenticate() failed: Authentication failed
Is there a reason for this, or a way to configure this behavior?
It was a bug. Fixed in newer versions.
Whoops, that would explain it since we've been testing with 1.1.3.
Thanks Timo, I'll upgrade and hopefully that will fix it.
Timo Sirainen wrote:
On Mon, 2008-11-24 at 10:45 -0500, David Halik wrote:
Nov 24 08:34:34 xxx.xxx.xxx.xxx dovecot: [ID 107833 mail.error] auth-worker(default): pam(dhalik,xxx.xxx.xxx.xxx): pam_authenticate() failed: Authentication failed
Is there a reason for this, or a way to configure this behavior?
It was a bug. Fixed in newer versions.
--
David Halik System Administrator OIT-CSS Rutgers University dhalik@jla.rutgers.edu
participants (2)
-
David Halik
-
Timo Sirainen