I could not get the below to work for me on RedHat 6.1, even after deleting
the ";mail.none" string, moving the mail.* entry onto two lines, and
playing with other configurations (kill -3 between each). I followed your
presumption that there was something wrong with syslog under this version
of redhat and searched the redhat site for a bug fix. I found
RedHat 6.1 update for syslog
http://www.redhat.com/corp/support/errata/RHSA1999055-01.html
I downloaded the RPM, issued the rpm -Uvh sys* command, rebooted (just for
the heck of it), and syslog is still not working. I wonder if it has
anything to do with this paragraph from the web page:
Note: Upgrading to these sysklogd packages may
impair the logging abilities of some software
that does not use the standard C library
syslog(3) interface to the system logs. Such
software may have to be changed to use datagram
connections instead of stream connections to
the log socket.
I think the best course of action for me is cyclog, when time permits.
Thanks for the help.
#
At 08:10 AM 12/6/99 , Steve Kapinos wrote:
>I had the same problem with rh6.x when I first installed qmail. Looked at
>syslog.conf and everything was valid but it still didn't work. I only made
>it work by assuming something didn't work as it was supposed to..
>
>Original sysconf.conf had mail.none in in the /var/log/messages line, with a
>mail.* line for /var/log/maillog below it.
>
>I removed the mail.none line from the /var/log/messages line, and put a
>mail.* into /var/log/maillog BEFORE the /var/log/messages line and it
>worked.
>
>Such as the following..
>
>[..]
>
>mail.* /var/log/maillog
>
># Log anything (except mail) of level info or higher.
># Don't log private authentication messages!
>*.info;authpriv.none /var/log/messages
>
>[..]
>
>Something just isn't right with syslog in this version.. I use cyclog now
>anyways =)
>
>-Steve
>
>-----Original Message-----
>From: Troy Frericks [mailto:[EMAIL PROTECTED]]
>Sent: Friday, December 03, 1999 7:06 PM
>To: [EMAIL PROTECTED]
>Subject: Re: Qmail not logging to the maillog..
>
>
>I've had this same issue since I moved qmail from a redhat 5.2 to a 6.1. I
>have been considering other alternatives than syslog. Just have not had
>time to deal with it.
>#
>
>At 05:53 PM 12/3/99 , you wrote:
>>I also have the same issue. My syslog.conf has the entry "mail.*" and my
>rc
>>file is as follows:
>>
>>--
>>#!/bin/sh
>>
>># Using splogger to send the log through syslog.
>># Using qmail-local to deliver messages to ~/Mailbox by default.
>>
>>exec env - PATH="/var/qmail/bin:$PATH" TZ=PST8PDT \
>>qmail-start ./Mailbox splogger qmail
>>--
>>
>>I really do need to find out some information from my maillog due to some
>list
>>issues we are having, any help is appreciated.
>>
>>Thanks,
>>
>>Eric Garff
>>MyComputer.com
>>SysAdmin
>>
>>Philip Gabbert wrote:
>>
>>> This is odd. All of the sudden, qmail isn't logging to the maillog. I
>know
>>> it's writeable, courier-imap still uses it.
>>>
>>> Where should I be looking to find out the reason? All I can think of is
>my
>>> rc file, but it looks like fine:
>>>
>>> -----
>>> #!/bin/sh
>>>
>>> # Using splogger to send the log through syslog. # Using procmail to
>deliver
>>> messages to /var/spool/mail/$USER by default.
>>>
>>> exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start '|preline procmail'
>>> splogger qmail
>>> ------
>>>
>>> trigger is also just fine. No change to it.
>>>
>>> Any suggestions??
>>>
>>> Thnx
>>>
>>> Philip
>