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 beyond
v1.3.

> I made sure that all of the code was on one line in vim too, but still
> the same results.
>
> Shall I post my log lines again to see if you guys can match the regexp?
>
> Just in case that's a yes:
>
> Jan 22 09:05:08 sara-too spamd[6599]: connection from localhost
> [127.0.0.1] at port 39783
> 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.
> 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.net/~apthorpe/code/sa-contrib/sa-stats.pl

and see if that works for you. I verified it works on that log fragment.

-- Bob

[1] Actually, I just replaced it with a call to Parse::Syslog so you'll
need to install that module. IIRC, the module is pure perl so it should
install very easily.


-------------------------------------------------------
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

Reply via email to