On Wednesday 10 Aug 2005 08:31, David wrote: > > -----Original Message----- > > From: Bob Hutchinson [mailto:[EMAIL PROTECTED] > > Sent: Saturday, 6 August 2005 10:08 PM > > To: toaster@shupp.org > > Subject: [toaster] update to qmail-logwatch > > > > > > I have fixed a number of bugs, especially in the CHKUSER stuff in > > qmail-smtpd > > > > http://midwales.com/downloads/logwatch/logwatch-qmail-1.0.7.tar.gz > > I was getting a lot of stuff like this in my logwatch reports: > > /etc/log.d/scripts/services/qmail-send: line 5: =: command not found > /etc/log.d/scripts/services/qmail-send: line 6: =: command not found > /etc/log.d/scripts/services/qmail-send: line 7: =: command not found > /etc/log.d/scripts/services/qmail-send: line 8: =: command not found > /etc/log.d/scripts/services/qmail-send: line 9: =: command not found > /etc/log.d/scripts/services/qmail-send: line 10: =: command not found > > Running RedHat 9. > > So... I added this line: > > #!/usr/perl > > To the beginning of these files: > > /etc/log.d/scripts/services/qmail-pop3d > /etc/log.d/scripts/services/qmail-pop3d3 > /etc/log.d/scripts/services/qmail-send > /etc/log.d/scripts/services/qmail-smtpd
Sorry not to answer sooner, been away walking the hills. I'm using logwatch-6.1.2, perhaps yours is older. I have added a note to the README > > and now I get cool stuff like: > > Chkuser Accepts to (Threshold of 1): > [EMAIL PROTECTED] - 54 Time(s) > [EMAIL PROTECTED] - 19 Time(s) > [EMAIL PROTECTED] - 5 Time(s) > [EMAIL PROTECTED] - 2 Time(s) > [EMAIL PROTECTED] - 2 Time(s) > [EMAIL PROTECTED] - 1 Time(s) > [EMAIL PROTECTED] - 1 Time(s) > [EMAIL PROTECTED] - 1 Time(s) > [EMAIL PROTECTED] - 1 Time(s) > [EMAIL PROTECTED] - 1 Time(s) > [EMAIL PROTECTED] - 1 Time(s) > [EMAIL PROTECTED] - 1 Time(s) > > Simscan Viruses (Threshold of 1): > HTML.Phishing.Bank-1 - 1 Time(s) > > > in my logs!! ...did I do the right thing ? looks about right, now tweak the thresholds in /etc/log.d/conf/services/qmail-smtpd.conf to reduce the size of the logwatch output. HTH -- ----------------- Bob Hutchinson Midwales dot com -----------------