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

Reply via email to