You can log extra information to the log file like this. Note that this
is overkill for most, but I like it cause it shows a lot more info without
the need to go back and forth between the send and smtpd logs.

#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t s5000000 \
'-* * > *' '-* * < *' '+* * < HELO *' '+* * < MAIL *' '+* * < RCPT *' '+* *
> 5*' '+* * > 4*' /var/log/qmail/smtpd 


Regards

Shane
 

>-----Original Message-----
>From: Jeff Koch [mailto:[EMAIL PROTECTED] 
>Sent: Monday, 26 July 2004 9:14 PM
>To: [EMAIL PROTECTED]
>Subject: Re: [toaster] chkuser patch - logging
>
>Hi David:
>
>Thanks but is there something I need to turn on. We have the 
>chkuser patch 
>working on three mailservers ( I know because of the rejection 
>replies to 
>test messages) but there are no entries in the 
>/var/log/qmail/smtpd logs.
>
>At 02:49 AM 7/26/2004, you wrote:
>>Yes, you will find in the smtpd log file lines like this:
>>
>>550 sorry, no mailbox here by that name (#5.1.1 - chkusr)
>>
>>On Mon, 2004-07-26 at 07:04, Jeff Koch wrote:
>> > Hi:
>> >
>> > Does anyone know if there is any logging of connections 
>rejected by the
>> > chkuser patch?
>> >
>> >
>> > Best Regards,
>> >
>> > Jeff Koch, Intersessions
>> >
>
>Best Regards,
>
>Jeff Koch, Intersessions 
>
>

Reply via email to