I tried both ways, ok mailstats.csv is out. Now I have set
log_details=syslog in qmail-scanner.pl I just ran the qs2mtgr.pl and still
nothing I have also tried looking for other qmail logs and found nothing but
the multilog logs. So I ran it on /var/log/qmail/current and nothing. Here
are some log snips.
Qmail-queue.log:
Sun, 09 Nov 2003 04:05:22 -0500:19881: +++ starting debugging for process
19881 by uid=508 at Sun, 09 Nov 2003 04:05:22 -0500
Sun, 09 Nov 2003 04:05:22 -0500:19881: w_c: elapsed time from start 0.02208
secs
Sun, 09 Nov 2003 04:05:22 -0500:19881: g_e_h: return-path is
"[EMAIL PROTECTED]", recips i$
Sun, 09 Nov 2003 04:05:22 -0500:19881: from=Any Credit Auto Loans ~
<[EMAIL PROTECTED]>, subj=FreeApplication, No commitment, via $
Sun, 09 Nov 2003 04:05:22 -0500:19881: clamuko: finished scan in 0.006673
secs
Sun, 09 Nov 2003 04:05:22 -0500:19881: SA: yup, this smells like SPAM -
quarantine message...
Sun, 09 Nov 2003 04:05:22 -0500:19881: SA: required_hits=9.0
sa_quarantine=16 sa_delete=20
Sun, 09 Nov 2003 04:05:22 -0500:19881: SA: finished scan in 4.655179 secs -
hits=19.7
Sun, 09 Nov 2003 04:05:22 -0500:19881: ini_sc: finished scan of
"/var/spool/qmailscan/tmp/shark4.njaquarium.org106836872249519881"...
Sun, 09 Nov 2003 04:05:22 -0500:19881: ini_sc: elapsed time from start
4.69541 secs
Sun, 09 Nov 2003 04:05:22 -0500:19881: v_v_t_r: Description contain spam -
so don't notify the sender

/var/log/qmail/current:
@400000003fb3b16e1b2833ac delivery 11304: success:
192.168.1.253_accepted_message./Remote_host_said:_250_OK/
@400000003fb3b16e1b2852ec status: local 0/10 remote 0/20
@400000003fb3b16e1b285abc end msg 224721
@400000003fb3b1870d19e79c new msg 224721
@400000003fb3b1870d1a02f4 info msg 224721: bytes 7486 from
<[EMAIL PROTECTED]> qp 19147 uid 511
@400000003fb3b1870f085da4 starting delivery 11305: msg 224721 to remote
[EMAIL PROTECTED]
@400000003fb3b1870f087ce4 status: local 0/10 remote 1/20
@400000003fb3b189160d1e64 delivery 11305: success:
192.168.1.253_accepted_message./Remote_host_said:_250_OK/
@400000003fb3b189160d39bc status: local 0/10 remote 0/20
@400000003fb3b189160d418c end msg 224721
@400000003fb3b1902c1a13c4 new msg 224722
@400000003fb3b1902c1a2f1c info msg 224722: bytes 1566 from <> qp 19160 uid
511
@400000003fb3b1902d35d84c starting delivery 11306: msg 224722 to remote
[EMAIL PROTECTED]
@400000003fb3b1902d35f78c status: local 0/10 remote 1/20
@400000003fb3b1923ac21f34 delivery 11306: success:
192.168.1.253_accepted_message./Remote_host_said:_250_OK/
@400000003fb3b1923ac23e74 status: local 0/10 remote 0/20
@400000003fb3b1923ac24644 end msg 224722
@400000003fb3b1c73a856c24 new msg 224722


-----Original Message-----
From: Jason Haar [mailto:[EMAIL PROTECTED] 
Sent: Sunday, November 09, 2003 2:45 PM
To: [EMAIL PROTECTED]
Subject: Re: [Qmail-scanner-general]1.20 features error


On Sat, 2003-11-08 at 07:47, Jason Staudenmayer wrote:
> I just installed 1.20 and tried the qs2mrtg.pl. It doesn't work with my
log
> files?
> cat: /var/www/html/mrtg/quarantined.txt: No such file or directory

Did you create /var/www/html/mrtg? What are you running the script as? -
i.e. does it have write access to that area?

Also, I see that you are referring to the output of mrtg - you have
confirmed the qs2mrtg.pl script is working first having you?


> I have set log_details='mailstats.csv' and I tried set to syslog still
> nothing. Is it because I'm running multilog with LWQM setup? Is there a
> different way to run this?
> 

Ah! The script is described as:

"A perl script for monitoring your syslog files for qmail-scanner
records."

So that means it won't work on your system as you're using
mailstats.csv. It's one or the other - either you are pumping your stats
to syslog, or to mailstats.csv.

-- 
Cheers

Jason Haar
Information Security Manager, Trimble Navigation Ltd.
Phone: +64 3 9635 377 Fax: +64 3 9635 417
PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1




-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general


-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to