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 worked from the source at > http://cvs.sourceforge.net/viewcvs.py/spamassassin/spamassassin/tools/sa-stats > .pl and I think Duncan fixed some date problems in my patch involving the new > year before committing it. The current version is probably in Apache's SVN > repository but I have no clue where that is, how to browse it, etc. :/
I've tried both of these, running as root on my mail box (installing Parse::Syslog first for your version, Bob) and get all zeros in the report too. I ran the same test you did, Bob, on the fragment in a previous message and got expected results... the same output as you received. When I run Bob's on my /var/log/maillog, it spews: WARNING: ignoring future date in syslog line: Apr 6 04:00:10 For around 1600 seconds and the report has all zeros in it for all fields (hey, it's a slow box :) For kicks, I cut a snippet of my own maillog file and run both versions of the script listed above on it. Both of them worked. The only differences I can point to in the tests (so far) is that the fragments, obviously, are quite smaller files than the real log file (50MB) I also tried running both fragment tests (same command exactly) with root and that worked as well. sa-stats.pl -l test.txt -s midnight Prolly doesn't help, but that's the extent of the testing I've been able to do so far... Mike -- [EMAIL PROTECTED] - www.wagnerone.com - www.bluegrassbox.com "When I'm in a great mood, I really don't feel like writing songs."-WHaynes ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk