Re: [SAtalk] stats

2004-01-30 Thread Kenneth Porter
--On Thursday, January 29, 2004 12:44 PM -0600 Bob Apthorpe <[EMAIL PROTECTED]> wrote: > http://svn.apache.org/viewcvs.cgi/incubator/spamassassin/trunk/tools/?root=A > pache-SVN Just tried this out on Fedora Core 1 with SA 2.63 and I had to use "--start yesterday" to get output. Otherwise I see t

Re: [SAtalk] stats

2004-01-30 Thread Bob Apthorpe
Hi, On Mon, 26 Jan 2004, AltGrendel wrote: > On Fri, 2004-01-23 at 15:19, Justin Mason wrote: > > > > svn co http://svn.apache.org/repos/asf/incubator/spamassassin/trunk > > > > or http://svn.apache.org/viewcvs.cgi/incubator/spamassassin/trunk/?root=Apache-SVN > > I tried those and got a connecti

Re: [SAtalk] stats

2004-01-29 Thread AltGrendel
On Fri, 2004-01-23 at 15:19, Justin Mason wrote: > > svn co http://svn.apache.org/repos/asf/incubator/spamassassin/trunk > > or http://svn.apache.org/viewcvs.cgi/incubator/spamassassin/trunk/?root=Apache-SVN > > - --j. I tried those and got a connection timeout. Anyone else have this problem?

Re: [SAtalk] stats

2004-01-29 Thread Bob Apthorpe
On Fri, 23 Jan 2004, AltGrendel wrote: > On Fri, 2004-01-23 at 00:14, Bob Apthorpe wrote: > > Hi, > > > > On Thu, 22 Jan 2004 15:12:06 -0600 Wagner One <[EMAIL PROTECTED]> wrote: > > > > > On 1/22/2004 1:15 PM, Bob Apthorpe wrote: > > > > > > > Note: I think this my hacked-up version of sa-stats.p

RE: [SAtalk] stats

2004-01-28 Thread Greg Ennis
On Fri, 2004-01-23 at 00:14, Bob Apthorpe wrote: > Hi, > > On Thu, 22 Jan 2004 15:12:06 -0600 Wagner One <[EMAIL PROTECTED]> wrote: > > > On 1/22/2004 1:15 PM, Bob Apthorpe wrote: > > > > > Note: I think this my hacked-up version of sa-stats.pl at > > > http://www.cynistar.net/~apthorpe/code/sa-co

Re: [SAtalk] stats

2004-01-28 Thread Bob Apthorpe
Hi, On Fri, 23 Jan 2004 17:15:19 -0600 "Smart,Dan" <[EMAIL PROTECTED]> wrote: > I would suggest you use SpamStats from http://www.gryzor.com/tools/ > I ran both, and SpamStats reported more of both Spam and Ham. I > suspect sa-stats is missing some records. Actually, I'm starting to believe the

Re: [SAtalk] stats (Slightly OT)

2004-01-28 Thread Bob Apthorpe
Hi, On Mon, 26 Jan 2004 22:09:28 -0600 "Vermyndax" <[EMAIL PROTECTED]> wrote: > Bob... > > Once again, excellent work. Thanks - I give back what I can. > I think my only complaint now is that my master.cf is messing with your > script's ability to report the top spam receivers. [section on us

RE: [SAtalk] stats

2004-01-27 Thread Smart,Dan
004 11:43 AM | To: SA-Talk | Subject: Re: [SAtalk] stats | | On Fri, 2004-01-23 at 00:14, Bob Apthorpe wrote: | > Hi, | > | > On Thu, 22 Jan 2004 15:12:06 -0600 Wagner One | <[EMAIL PROTECTED]> wrote: | > | > > On 1/22/2004 1:15 PM, Bob Apthorpe wrote: | > > | &

RE: [SAtalk] stats

2004-01-27 Thread Mark Emerle
] Behalf Of AltGrendel Sent: Monday, January 26, 2004 9:40 AM To: Justin Mason Cc: SA-Talk Subject: Re: [SAtalk] stats On Fri, 2004-01-23 at 15:19, Justin Mason wrote: > > svn co http://svn.apache.org/repos/asf/incubator/spamassassin/trunk > > or http://svn.apache.org/viewcvs.cgi/incubator/

RE: [SAtalk] stats (Slightly OT)

2004-01-26 Thread Vermyndax
pic discussion (after review)... --Vermyndax > -Original Message- > From: Bob Apthorpe [mailto:[EMAIL PROTECTED] > Sent: Monday, January 26, 2004 1:31 AM > To: Phil Iovino; Vermyndax; Matthias Fuhrmann; Nasdero > Subject: Re: [SAtalk] stats > > Hi, > > FWIW, I&#

Re: [SAtalk] stats

2004-01-26 Thread Justin Mason
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 AltGrendel writes: >On Fri, 2004-01-23 at 00:14, Bob Apthorpe wrote: >> Hi, >> >> On Thu, 22 Jan 2004 15:12:06 -0600 Wagner One <[EMAIL PROTECTED]> wrote: >> >> > On 1/22/2004 1:15 PM, Bob Apthorpe wrote: >> > >> > > Note: I think this my hacked-up

Re: [SAtalk] stats

2004-01-23 Thread AltGrendel
On Fri, 2004-01-23 at 00:14, Bob Apthorpe wrote: > Hi, > > On Thu, 22 Jan 2004 15:12:06 -0600 Wagner One <[EMAIL PROTECTED]> wrote: > > > On 1/22/2004 1:15 PM, Bob Apthorpe wrote: > > > > > Note: I think this my hacked-up version of sa-stats.pl at > > > http://www.cynistar.net/~apthorpe/code/sa-

Re: [SAtalk] stats

2004-01-22 Thread Bob Apthorpe
Hi, On Thu, 22 Jan 2004 15:12:06 -0600 Wagner One <[EMAIL PROTECTED]> wrote: > On 1/22/2004 1:15 PM, Bob Apthorpe wrote: > > > Note: I think this my hacked-up version of sa-stats.pl at > > http://www.cynistar.net/~apthorpe/code/sa-contrib/sa-stats.pl > > > > I'm not sure where the canonical ver

Re: [SAtalk] stats

2004-01-22 Thread Bob Apthorpe
Hi, On Fri, 23 Jan 2004 00:25:02 +0100 (MET) Matthias Fuhrmann <[EMAIL PROTECTED]> wrote: > On Thu, 22 Jan 2004, Vermyndax wrote: > > > Matthias... > > > > Argh, that looked abysmally easy. I guess I could have taken a crack at > > that after all. > > may i take this as a sign of success (my e

RE: [SAtalk] stats

2004-01-22 Thread Matthias Fuhrmann
On Thu, 22 Jan 2004, Vermyndax wrote: > Matthias... > > Argh, that looked abysmally easy. I guess I could have taken a crack at > that after all. may i take this as a sign of success (my english isnt that good in all terms ...) ? :) > You might want to try Bob's 1.5 script though... doesnt wor

RE: [SAtalk] stats

2004-01-22 Thread Matthias Fuhrmann
On Thu, 22 Jan 2004, Bob Apthorpe wrote: Hi, [...] > > <[EMAIL PROTECTED]> for filter:500. > > Jan 22 09:05:10 sara-too spamd[14936]: identified spam (8.2/5.0) for > > filter:500 in 1.9 seconds, 1756 bytes. > > I fixed the regex[1] in 1.3 and made some other changes; try > > http://www.cynistar.n

RE: [SAtalk] stats

2004-01-22 Thread Vermyndax
> Sent: Thursday, January 22, 2004 2:52 PM > To: [EMAIL PROTECTED] > Subject: RE: [SAtalk] stats --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse

RE: [SAtalk] stats

2004-01-22 Thread Vermyndax
That did the trck for me, Bob. Thanks much! --JM > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Bob Apthorpe > Sent: Thursday, January 22, 2004 2:55 PM > To: SATalk list > Subject: RE: [SAtalk] stats > > > I

Re: [SAtalk] stats

2004-01-22 Thread Wagner One
On 1/22/2004 1:15 PM, Bob Apthorpe wrote: > Note: I think this my hacked-up version of sa-stats.pl at > http://www.cynistar.net/~apthorpe/code/sa-contrib/sa-stats.pl > > I'm not sure where the canonical version of sa-stats.pl lives since the > migration from Sourceforge/CVS to Apache/SVN. I worke

RE: [SAtalk] stats

2004-01-22 Thread Matthias Fuhrmann
On Thu, 22 Jan 2004, Vermyndax wrote: hi, [...] > Jan 22 09:05:08 sara-too spamd[14936]: info: setuid to filter succeeded > Jan 22 09:05:08 sara-too spamd[14936]: processing message > <[EMAIL PROTECTED]> for filter:500. here we have a diff in out log files: > Jan 22 09:05:10 sara-too spamd[1493

RE: [SAtalk] stats

2004-01-22 Thread Bob Apthorpe
Hi, On Thu, 22 Jan 2004, Vermyndax wrote: > I know you probably don't want to hear this, but I still get the same > results. I'm with you, I'm sure the regexp is wrong, but I don't know > perl so I'm not helping I'm sure. The bug is a known issue and IIRC it's been resolved in sa-stats.pl beyon

RE: [SAtalk] stats

2004-01-22 Thread Vermyndax
On > Behalf Of Matthias Fuhrmann > Sent: Thursday, January 22, 2004 1:36 PM > To: SATalk list > Subject: RE: [SAtalk] stats > > On Thu, 22 Jan 2004, Bob Apthorpe wrote: > > [...] > > based on sa-stats.pl 1.3 i did a quick fix (yes again...) >

RE: [SAtalk] stats

2004-01-22 Thread Brad Hazledine
I had the same problem and found out why. The log has to be the current year only. The code inserts the current year and my log went back to July. After I moved everything out prior to Jan 1st it worked fine. Brad On Thu, 22 Jan 2004, Vermyndax wrote: > Hi Bob... Tried this and still got the s

RE: [SAtalk] stats

2004-01-22 Thread Vermyndax
..etc Any ideas? --JM > -Original Message- > From: Bob Apthorpe [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 22, 2004 12:44 PM > To: Vermyndax > Cc: SATalk list > Subject: RE: [SAtalk] stats > > Hi, > > > Try this: > > s

RE: [SAtalk] stats

2004-01-22 Thread Alan Munday
> hmm, sorry mate. > i should have said this earlier, so i do it now. i was able > to fix it for > sendmail/milterassassin/spamd . at laest the spam/ham count > works ( top > spam receiver dont). > it works here using 'spamstats0.4b5.pl-fixed /var/log/syslog' > w/o any further options, grabbing

RE: [SAtalk] stats

2004-01-22 Thread Matthias Fuhrmann
On Thu, 22 Jan 2004, Bob Apthorpe wrote: [...] based on sa-stats.pl 1.3 i did a quick fix (yes again...) all u have to do is this: cut all line between # Agh... this is ugly. [...] <<< delete all these lines here #Split line into components and replace it with this one:

RE: [SAtalk] stats

2004-01-22 Thread Bob Apthorpe
Hi, On Thu, 22 Jan 2004, Vermyndax wrote: > Hi Bob... > > Thanks for the suggestions. I downloaded the latest sa-stats.pl from > www.sf.net CVS (v1.3) and tried as you suggested, but I'm still getting > all zeros. > > Details... > > My mail logs are at /var/log/mail/maillog. Try this: sa-stats

Re: [SAtalk] stats

2004-01-22 Thread Matt Thoene
On Thursday, January 22, 2004 @ 5:55:05 AM [-0700], Matthias Fuhrmann wrote: > i've fixed couple things of spamstats0.4b5.pl a while ago. > see attached version. just have a try. Oh my gosh...this thread motivated me to run a quick check today. I run a smaller server with only 10 or so domains bu

RE: [SAtalk] stats

2004-01-22 Thread Matthias Fuhrmann
On Thu, 22 Jan 2004, Alan Munday wrote: > Matthias > > I tried your spamstats, which appears to work fine. > > The only exception is that it does not show the counts for HAM/SPAM. > hmm, sorry mate. i should have said this earlier, so i do it now. i was able to fix it for sendmail/milterassassin/s

Re: [SAtalk] stats

2004-01-22 Thread Ray Dzek
quot;Scott Harris" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 22, 2004 5:55 AM Subject: RE: [SAtalk] stats > > > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On > > Behalf Of V

Re: [SAtalk] stats

2004-01-22 Thread Adam Beatham
I'm having the same issue. I have the same setup as Scott, as well (sendmail -> md -> spamassassin) all logging to /var/log/maillog, and sa-stats always reports well, nothing :) -adam on 1/22/2004 10:04 AM Vermyndax said the following: Hi Bob... Thanks for the suggestions. I downloaded the

RE: [SAtalk] stats

2004-01-22 Thread Vermyndax
ers (available as a command-line switch since we wouldn't the organizational public to see that one). Thanks for all of your time and help. --JM > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Bob Apthorpe > Sent: Thursd

RE: [SAtalk] stats

2004-01-22 Thread Scott Harris
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Vermyndax > Sent: Thursday, January 22, 2004 4:57 AM > To: [EMAIL PROTECTED] > Subject: [SAtalk] stats > > Greetings all... > > I am trying to implement

Re: [SAtalk] stats

2004-01-22 Thread Matthias Fuhrmann
On Thu, 22 Jan 2004, Vermyndax wrote: > Greetings all... > > I am trying to implement a way to generate statistics for Spamassassin. > I've tried numerous perl scripts but most of them return all zeros for > the stats. The biggest example I can think of is the sa-stats.pl > script. No matter wha

Re: [SAtalk] stats

2004-01-22 Thread Bob Apthorpe
Hi, On Thu, 22 Jan 2004 06:57:02 -0600 "Vermyndax" <[EMAIL PROTECTED]> wrote: > Greetings all... > > I am trying to implement a way to generate statistics for Spamassassin. > I've tried numerous perl scripts but most of them return all zeros for > the stats. The biggest example I can think of i

[SAtalk] stats

2004-01-22 Thread Vermyndax
Greetings all... I am trying to implement a way to generate statistics for Spamassassin. I've tried numerous perl scripts but most of them return all zeros for the stats. The biggest example I can think of is the sa-stats.pl script. No matter what I do, the script returns all zeros. Is it becau

RE: [SAtalk] stats script, by (fairly) popular demand - off-topic question

2003-11-07 Thread ian douglas
> my @otherstuff = sort { > (my $numa) = ($a =~ m/\.(\d+)\./); > (my $numb) = ($b =~ m/\.(\d+)\./); > $numa <=> $numb || $a cmp $b > } @stuff; you rock, i owe ya a beer ;o) -id --- This SF.Net email sponsored by: Apac

RE: [SAtalk] stats script, by (fairly) popular demand - off-topic question

2003-11-07 Thread Chris Thielen
#!/usr/bin/perl my @stuff = ( 'maillog.11.gz', 'maillog.2.gz', 'maillog.10.gz', 'maillog', 'maillog.1.gz', 'maillog.3.gz', ); my @otherstuff = sort { (my $numa) = ($a =~ m/\.(\d+)\./); (my $numb) = ($b =~ m/\.(\d+)\./); $numa

RE: [SAtalk] stats script, by (fairly) popular demand - off-topic question

2003-11-07 Thread ian douglas
My new mailstats.pl script (matt's script with a few tweaks) is giving me some grief. My maillog files are named: maillog (for today) maillog.1.gz maillog.2.gz etc maillog.10.gz etc When Matt's script does the 'sort', it sorts it as: maillog maillog.1.gz maillog.10.gz maillog.11.gz maillog.2.gz

Re: [SAtalk] stats script, by (fairly) popular demand

2003-11-01 Thread AltGrendel
'mikea' wrote: There are probably some adjustments to be made. Use at your own risk. Enjoy. If you improve on it, please make the improvements available to the list. I've posted this on the Wiki at http://www.exit0.us/index.php/MikesStatScript

Re: [SAtalk] stats script, by (fairly) popular demand

2003-10-30 Thread 'mikea'
On Thu, Oct 30, 2003 at 02:45:39PM -0800, Kenneth Porter wrote: > --On Thursday, October 30, 2003 2:26 PM -0600 'mikea' <[EMAIL PROTECTED]> > wrote: > > > my $s = grep /is spam/, @wholefile; # spam > > This doesn't work with my copy of SA, which is using spamc/spamd. Inste

RE: [SAtalk] stats script, by (fairly) popular demand

2003-10-30 Thread Ian Douglas
> But the line that contains "is spam" doesn't seem to increment the counter. > /shrug still looking at that myself. ... because I upgraded to SA 2.60 this week and set MailScanner to log spam messages via syslog, which wasn't in place for last week. (slapping self upside the head) For this week

Re: [SAtalk] stats script, by (fairly) popular demand

2003-10-30 Thread Kenneth Porter
--On Thursday, October 30, 2003 2:26 PM -0600 'mikea' <[EMAIL PROTECTED]> wrote: > my $s = grep /is spam/, @wholefile; # spam This doesn't work with my copy of SA, which is using spamc/spamd. Instead of "is spam", I get "identified spam". --

Re: [SAtalk] stats script

2003-10-30 Thread Zionsville Autosport
i've got a couple of these scripts, but they don't seem to parse my log files. i'm running exim 4.22 with SA 2.55. exim logs to mainlog in /var/log/exim and SA logs to maillog in /var/log. i'm assuming there's a problem since my setup doesn't log the results in one file. i've cancatated the two

RE: [SAtalk] stats script, by (fairly) popular demand

2003-10-30 Thread Ian Douglas
> You will need to adjust the search string to match your mail logs. Here's my maillog snippet: Oct 30 14:12:40 ns1 MailScanner[3201]: New Batch: Scanning 1 messages, 4214 bytes Oct 30 14:12:40 ns1 MailScanner[3201]: Archived message h9UMAPR07828 to mbox file /var/spool/MailScanner/archive Oct

Re: [SAtalk] stats script, by (fairly) popular demand

2003-10-30 Thread Ray Dzek
sday, October 30, 2003 1:18 PM Subject: [SAtalk] stats script, by (fairly) popular demand > Interesting...once I changed to the Debian mail.log.#.gz filename spec, > I got the following: > Mails spamassassin rejected scanner total mails > Total says 'spa

RE: [SAtalk] stats script, by (fairly) popular demand

2003-10-30 Thread Ian Douglas
> > my $s = grep /is spam/, @wholefile; # spam My log does have "is spam" in the log yet the script is returning 0's for me as well. Trying to hunt it down. I've even tried other strings from the MailScanner-generated logs from /var/log/maillog to no avail. -id ---

RE: [SAtalk] stats script, by (fairly) popular demand

2003-10-30 Thread Jason Staudenmayer
'mikea' scribbled on Thursday, October 30, 2003 3:26 PM: > There are probably some adjustments to be made. > > Use at your own risk. Enjoy. > > If you improve on it, please make the improvements available > to the list. > > Mike Andrews > [EMAIL PROTECTED] > Tired old

[SAtalk] stats script, by (fairly) popular demand

2003-10-30 Thread Greg Webster
Interesting...once I changed to the Debian mail.log.#.gz filename spec, I got the following: Mails spamassassin rejected scanner total mails Total says 'spam' by rulesetsays virusundelivered Oct 12 35052 0 ( 0.00%)0 ( 0.00%)0 ( 0.00%) 0 ( 0.00%)

RE: [SAtalk] stats script, by (fairly) popular demand

2003-10-30 Thread Jackson, Jeff
> Date: Thu, 30 Oct 2003 14:26:14 -0600 > From: "'mikea'" <[EMAIL PROTECTED]> > To: SA Mailing list <[EMAIL PROTECTED]> > Subject: [SAtalk] stats script, by (fairly) popular demand > > There are probably some adjustments to be made. > >

RE: [SAtalk] stats script

2003-10-30 Thread Jason Staudenmayer
age- >> From: mikea >> Sent: Thursday, October 30, 2003 2:13 PM >> To: SA Mailing list >> Subject: [SAtalk] stats script >> >> >> I have, from time to time, published stats generated by my >> mailstats2.pl Perl script. Pretty much every time

FW: [SAtalk] stats script

2003-10-30 Thread Larry Gilson
http://www.iscomp.com/files/scripts/mail/ -Original Message- From: 'mikea' Sent: Thursday, October 30, 2003 2:58 PM To: Larry Gilson Subject: Re: [SAtalk] stats script On Thu, Oct 30, 2003 at 02:51:49PM -0500, Larry Gilson wrote: > Everyone has an opinion so since you a

RE: [SAtalk] stats script

2003-10-30 Thread Jill U'Ren
Ditto -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mark Emerle Sent: Thursday, October 30, 2003 12:15 PM To: mikea; SA Mailing list Subject: RE: [SAtalk] stats script Please post, I wrote my own but would like to see if you included something in

[SAtalk] stats script, by (fairly) popular demand

2003-10-30 Thread 'mikea'
There are probably some adjustments to be made. Use at your own risk. Enjoy. If you improve on it, please make the improvements available to the list. Mike Andrews [EMAIL PROTECTED] Tired old sysadmin #!/usr/bin/perl # # program to produce total mail item / spam (%) / discarded (%) /

RE: [SAtalk] stats script

2003-10-30 Thread Mark Emerle
Please post, I wrote my own but would like to see if you included something in yours that could be useful -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of mikea Sent: Thursday, October 30, 2003 2:13 PM To: SA Mailing list Subject: [SAtalk] stats script I

RE: [SAtalk] stats script

2003-10-30 Thread Larry Gilson
Message- > From: mikea > Sent: Thursday, October 30, 2003 2:13 PM > To: SA Mailing list > Subject: [SAtalk] stats script > > > I have, from time to time, published stats generated by my > mailstats2.pl Perl script. Pretty much every time I get > mail remarking on how pret

[SAtalk] stats script

2003-10-30 Thread mikea
I have, from time to time, published stats generated by my mailstats2.pl Perl script. Pretty much every time I get mail remarking on how pretty the output is and asking for a copy. Since I can't put it up on the corporate webserver at work, I'll offer to post it if: 1) Anyone is interested, an

[SAtalk] Stats showing bayesian system working well

2003-06-06 Thread satalk
Hello, I've been looking at various stats from my SpamAssassin system to try and decide how best to make it better, one of the things I wanted to do was reduce the level at which the system quarantines email so I thought I would look at how the scores for email were distributed and this is what I

RE: [SAtalk] Stats?

2002-02-27 Thread Craig R Hughes
ages per userid, average processing time (ok, not great resolution there) C Mike Loiterman wrote: > Date: Thu, 28 Feb 2002 01:36:50 -0600 > From: Mike Loiterman <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: RE: [SAtalk] Stats? > >

RE: [SAtalk] Stats?

2002-02-27 Thread Mike Loiterman
y 27, 2002 9:46 AM >To: Marc G. Fournier >Cc: [EMAIL PROTECTED] >Subject: Re: [SAtalk] Stats? > >It's in 2.1 -- the logging now prints score and threshold along with >userid and time taken for processing for every message passed >through spamd. > >C > >Marc G.

Re: [SAtalk] Stats?

2002-02-27 Thread Craig R Hughes
It's in 2.1 -- the logging now prints score and threshold along with userid and time taken for processing for every message passed through spamd. C Marc G. Fournier wrote: > Just curious if anyone has started to work on some sort of logging > through syslog that could be used to generate