Bug 144802 - New port: mail/sa-stats - generate nice statistic for spam/ham hits with SpamAssassin
Summary: New port: mail/sa-stats - generate nice statistic for spam/ham hits with Spam...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-16 17:40 UTC by Alexey Degtyarev
Modified: 2010-04-02 18:00 UTC (History)
0 users

See Also:


Attachments
sa-stats.shar (2.94 KB, text/plain)
2010-03-16 17:40 UTC, Alexey Degtyarev
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Degtyarev 2010-03-16 17:40:01 UTC
This perl script generates top spam/ham rules fired for SpamAssassin
installations:

TOP SPAM RULES FIRED
----------------------------------------------------------------------
RANK    RULE NAME                       COUNT  %OFMAIL %OFSPAM  %OFHAM
----------------------------------------------------------------------
   1    CMAE_1                          30455    26.68   70.34    0.03
   2    BAYES_99                        24478    21.98   56.54    0.89
   3    RAZOR2_CHECK                    11910    10.61   27.52    0.29
----------------------------------------------------------------------

TOP HAM RULES FIRED
----------------------------------------------------------------------
RANK    RULE NAME                       COUNT  %OFMAIL %OFSPAM  %OFHAM
----------------------------------------------------------------------
   1    BAYES_00                        44253    46.60   20.71   62.40
   2    ALL_TRUSTED                     34534    49.42   50.61   48.70
   3    SPF_PASS                        10880    17.43   20.82   15.35
----------------------------------------------------------------------

Number of top rules to display is adjustable, of course.

Also it displays some peformance information:

Email:   114145  Autolearn: 43569  AvgScore:   2.98  AvgScanTime:  2.55 sec
Spam:     43274  Autolearn: 15452  AvgScore:  12.22  AvgScanTime:  2.61 sec
Ham:      70871  Autolearn: 28117  AvgScore:  -2.66  AvgScanTime:  2.51 sec

Time Spent Running SA:        80.70 hours
Time Spent Processing Spam:   31.35 hours
Time Spent Processing Ham:    49.35 hours

WWW: http://www.rulesemporium.com/programs/
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2010-03-16 18:35:56 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2010-04-02 17:53:10 UTC
State Changed
From-To: open->closed

New port added. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2010-04-02 17:53:38 UTC
miwi        2010-04-02 16:53:24 UTC

  FreeBSD ports repository

  Modified files:
    mail                 Makefile 
  Added files:
    mail/sa-stats        Makefile distinfo pkg-descr 
  Log:
  This perl script generates top spam/ham rules fired for SpamAssassin
  installations:
  
  TOP SPAM RULES FIRED
  ----------------------------------------------------------------------
  RANK    RULE NAME                       COUNT  %OFMAIL %OFSPAM  %OFHAM
  ----------------------------------------------------------------------
     1    CMAE_1                          30455    26.68   70.34    0.03
     2    BAYES_99                        24478    21.98   56.54    0.89
     3    RAZOR2_CHECK                    11910    10.61   27.52    0.29
  ----------------------------------------------------------------------
  
  TOP HAM RULES FIRED
  ----------------------------------------------------------------------
  RANK    RULE NAME                       COUNT  %OFMAIL %OFSPAM  %OFHAM
  ----------------------------------------------------------------------
     1    BAYES_00                        44253    46.60   20.71   62.40
     2    ALL_TRUSTED                     34534    49.42   50.61   48.70
     3    SPF_PASS                        10880    17.43   20.82   15.35
  ----------------------------------------------------------------------
  
  WWW: http://www.rulesemporium.com/programs/
  
  PR:             ports/144802
  Submitted by:   Alexey V. Degtyarev <alexey at renatasystems.org>
  
  Revision  Changes    Path
  1.1015    +1 -0      ports/mail/Makefile
  1.1       +35 -0     ports/mail/sa-stats/Makefile (new)
  1.1       +3 -0      ports/mail/sa-stats/distinfo (new)
  1.1       +22 -0     ports/mail/sa-stats/pkg-descr (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"