Bug 55335 - imapd now logging to messages, not maillog
imapd now logging to messages, not maillog
Product: Red Hat Linux
Classification: Retired
Component: sysklogd (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jason Vas Dias
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2001-10-29 16:15 EST by Chris Rode
Modified: 2007-04-18 12:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-06-07 19:16:32 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
syslog.conf (936 bytes, text/plain)
2001-11-01 01:03 EST, Chris Rode
no flags Details

  None (edit)
Description Chris Rode 2001-10-29 16:15:36 EST
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 
to /var/log/messages.

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.
Comment 1 Mike A. Harris 2001-10-31 19:38:18 EST
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.
Comment 2 Mike A. Harris 2001-10-31 19:39:17 EST
Also, please attach your syslog.conf for analysis.
Comment 3 Bill Nottingham 2001-10-31 20:36:06 EST
The default syslog configuration hasn't changed between 7.1 and 7.2.
Comment 4 Chris Rode 2001-11-01 01:03:14 EST
Created attachment 35961 [details]
Comment 5 Chris Rode 2002-05-24 16:21:40 EDT
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 
to /var/log/maillog.

*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. :)
Comment 6 Jason Vas Dias 2005-06-07 19:16:32 EDT
I'm just closing out old bugs here - glad this one seems to have
been sorted out!

Note You need to log in before you can comment on or make changes to this bug.