You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Iain Smith <ia...@mclsoftware.co.uk> on 2005/10/21 14:48:59 UTC
Accessing descriptions of spam tests
Perhaps this might be a better one for the developers list... I'm writing a
small reporting (perl) script to parse the syslog entries produced by spamd
and produce a report based on its findings. One of the reports is the top n
most triggered spam tests. Does anyone know of an easy way to access the
description of a test? I was hoping perhaps I could load one of the
SpamAssassin modules and call a function, a la $desc = getdesc('NO_REAL_NAME')
I'll be happy to post the script when finished if any thinks it may be of
any use to them...
TIA,
Iain
Re: Accessing descriptions of spam tests
Posted by jdow <jd...@earthlink.net>.
From: "jdow" <jd...@earthlink.net>
> From: "Mathias Homann" <ad...@eregion.de>
>
>> Am Freitag, 21. Oktober 2005 14:48 schrieb Iain Smith:
>>
>>> One of the reports is the top n most triggered spam tests. Does
>>> anyone know of an easy way to access the description of a test? I
>>> was hoping perhaps I could load one of the SpamAssassin modules and
>>> call a function, a la $desc = getdesc('NO_REAL_NAME')
>>
>> Now that would be really useful... feel free to put it online when its
>> done, but I think you should contact the author of spamstats.pl first
> ^^^^ which one?
>
>> and work together with him, it would make more sense to add that
>> option to his script instead of making Yet Another SpamAssassin Log
>> Analyzer(tm)... here's the url (no email on website... i wonder
>> why... ;) http://www.inl.fr/Spamstats.html
>
> Note that both the SpamAssassin tools install and the Rules Emporium
> sites have spamstats.pl files. Both have their good points and bad
> points. The SARE version tells you which rules are your most effective
> ones since the maillog started. The SA Tools version tells you how
> many spam and ham messages were received in the last X hours as long
> as X is not longer than the current maillog's duration.
Correction - "sa-stats.pl" is the one that both places had. Mea Culpa.
{o.o}
Re: Accessing descriptions of spam tests
Posted by jdow <jd...@earthlink.net>.
From: "Mathias Homann" <ad...@eregion.de>
> Am Freitag, 21. Oktober 2005 14:48 schrieb Iain Smith:
>
>> One of the reports is the top n most triggered spam tests. Does
>> anyone know of an easy way to access the description of a test? I
>> was hoping perhaps I could load one of the SpamAssassin modules and
>> call a function, a la $desc = getdesc('NO_REAL_NAME')
>
> Now that would be really useful... feel free to put it online when its
> done, but I think you should contact the author of spamstats.pl first
^^^^ which one?
> and work together with him, it would make more sense to add that
> option to his script instead of making Yet Another SpamAssassin Log
> Analyzer(tm)... here's the url (no email on website... i wonder
> why... ;) http://www.inl.fr/Spamstats.html
Note that both the SpamAssassin tools install and the Rules Emporium
sites have spamstats.pl files. Both have their good points and bad
points. The SARE version tells you which rules are your most effective
ones since the maillog started. The SA Tools version tells you how
many spam and ham messages were received in the last X hours as long
as X is not longer than the current maillog's duration.
{^_-}
Re: Accessing descriptions of spam tests
Posted by Mathias Homann <ad...@eregion.de>.
Am Freitag, 21. Oktober 2005 14:48 schrieb Iain Smith:
> One of the reports is the top n most triggered spam tests. Does
> anyone know of an easy way to access the description of a test? I
> was hoping perhaps I could load one of the SpamAssassin modules and
> call a function, a la $desc = getdesc('NO_REAL_NAME')
Now that would be really useful... feel free to put it online when its
done, but I think you should contact the author of spamstats.pl first
and work together with him, it would make more sense to add that
option to his script instead of making Yet Another SpamAssassin Log
Analyzer(tm)... here's the url (no email on website... i wonder
why... ;) http://www.inl.fr/Spamstats.html
bye,
MH
-- gpg key fingerprint: 5F64 4C92 9B77 DE37 D184 C5F9 B013 44E7 27BD
763C