Hey, That's good with me.. I'd rather have them in mail.info then in messages!!!
Ok I'll try that as it sounds like the symptoms are duplicates on my machine with the no-log option. On Tue, 2003-11-18 at 09:06, Vicente Aguilar wrote: > Hi > > I have had the same problem... check on the qmail-scanner-queue.pl > script that the log_msg subroutine (by the end of the file) is not > empty. > > It seems that when you ./configure qmail-scanner not to log, it > generates a dummy replacement for this function with no body content, so > if you just change the value of the $log_details variable to syslog, you > don't get anything because the logging function does nothing. The > solution is to run ./configure again and install the new .pl file, or > just copy the content of the log_msg function to your old qscanner.pl > file. > > I think that this behaviour should be documented somewhere... ;) > > BTW, I'm getting the logs on /var/log/mail.info instead of messages. No > big deal, changed the $logfile var on the qs2mrtg.pl file and it works > (I'm not completely sure that the virus graph is correct, I think that > not all the viruses quarantined are being graphed... still have to take > a deeper look at it, though). > > El mar, 18-11-2003 a las 13:56, Matt escribió: > > Further investigation shows... when I set the logfile type to "syslog" > > in qmailscanner.pl it doesn't log to the /var/log/messages it doesn't > > seem to make any difference if I set it to yes/no/syslog they all seem > > to do the same thing.. only thing I"m getting logs from is spamd in the > > /var/log/maillog > > > > What am I doing wrong? > > > > On Mon, 2003-11-17 at 13:49, Matt wrote: > > > I've got qs2mrtg on my system.. but I'm confused about setting it up... > > > > > > Here is how I have my qs2mrtg.pl file setup: > > > my ($logfile)='/var/log/messages'; > > > my ($offsetfile)="$ENV{'HOME'}/qs2mrtg.offset"; > > > my ($mrtg_dir)="/usr/local/apache/htdocs/spamscan/"; > > > > > > > > > Then this is the format of my cfg file: > > > LogDir: /usr/local/apache/htdocs/spamscan/qmail-scanner > > > Htmldir: /usr/local/apache/htdocs/spamscan/qmail-scanner > > > ImageDir: /usr/local/apache/htdocs/spamscan/qmail-scanner/images > > > IconDir: ../../icons > > > #Interval: 10 > > > Refresh: 600 > > > > > > Target[mesgs]: `cat /usr/local/apache/htdocs/spamscan/total.txt` > > > > > > > > > Is this correct? It keeps complaing about no files in > > > spamscan/qmail-scanner and from what I see in the config it's catting > > > the total.txt file which doesn't exist... clearly I must have something > > > setup wrong but eh what? > > > > > > > > > > > > ------------------------------------------------------- > > > This SF. Net email is sponsored by: GoToMyPC > > > GoToMyPC is the fast, easy and secure way to access your computer from > > > any Web browser or wireless device. Click here to Try it Free! > > > https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl > > > _______________________________________________ > > > Qmail-scanner-general mailing list > > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general -- Matt <[EMAIL PROTECTED]> ------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general