Red Hat Bugzilla – Bug 55335
imapd now logging to messages, not maillog
Last modified: 2007-04-18 12:37:51 EDT
I'm not sure if this should be filed under imap, or sysklogd...
Recently installed 7.2. In previous releases, imapd would send its
login/logout messages to /var/log/maillog. It's now spamming these
I have not altered my /etc/syslog.conf file from what was installed from
the sysklogd RPM.
Am I just being dense? I'd really like to get these messages funneled
into /var/log/maillog if at all possible.
Nothing has changed in the imap package that would cause this to
occur. It is either something that has changed with the syslog
packages, or a local configuration issue. Reassigning to syslog
to confirm wether or not something has changed there.
Also, please attach your syslog.conf for analysis.
The default syslog configuration hasn't changed between 7.1 and 7.2.
Created attachment 35961 [details]
After upgrading to 7.3, and still seeing this problem, I think I've figured out
what was causing it.
I used authconfig to create an /etc/pam.d/system-auth that would authenticate
against either pam_unix or pam_krb5. authconfig put pam_unix before pam_krb5.
The user does not have a unix password stored on the system, so pam_unix was
returning failure, and pam_krb5 would then return success. This was being
logged in /var/log/messages.
I reordered the authenticate section of system-auth to put pam_krb5 before
pam_unix, and now the login/logout messages are being logged
*shrug* Not sure why the order would make a difference where these messages
were being logged, but now that my /var/log/messages isn't being spammed every
5 minutes by imapd, I'm happy. :)
I'm just closing out old bugs here - glad this one seems to have
been sorted out!