1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

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>
This commit is contained in:
Martin Wilke 2010-04-02 16:53:24 +00:00
parent 092bc8dba7
commit 2864d63f28
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=252072
4 changed files with 61 additions and 0 deletions

View File

@ -598,6 +598,7 @@
SUBDIR += rubygem-actionmailer
SUBDIR += rubygem-mailfactory
SUBDIR += rubygem-tmail
SUBDIR += sa-stats
SUBDIR += sa-utils
SUBDIR += sastatd
SUBDIR += sccmilter

35
mail/sa-stats/Makefile Normal file
View File

@ -0,0 +1,35 @@
# New ports collection makefile for: sa-stats
# Date created: Tue 16 Mar 2010
# Whom: Alexey V. Degtyarev <alexey@renatasystems.org>
#
# $FreeBSD$
#
PORTNAME= sa-stats
PORTVERSION= 1.0
CATEGORIES= mail
MASTER_SITES= http://www.rulesemporium.com/programs/ \
ftp://renatasystems.org/pub/FreeBSD/ports/distfiles/
DISTNAME= ${PORTNAME}-${PORTVERSION}.txt
EXTRACT_SUFX=
EXTRACT_ONLY=
MAINTAINER= alexey@renatasystems.org
COMMENT= Generates top spam/ham rules fired for SpamAssassin installations
RUN_DEPENDS= p5-Getopt-Long>=0:${PORTSDIR}/devel/p5-Getopt-Long
USE_PERL5= yes
NO_WRKSUBDIR= yes
NO_BUILD= yes
PLIST_FILES= bin/sa-stats
post-extract:
${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/sa-stats
.include <bsd.port.mk>

3
mail/sa-stats/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (sa-stats-1.0.txt) = 681d592694740331254a7b41b7f04aaf
SHA256 (sa-stats-1.0.txt) = dc66ada115a61f4dfe727305a02c518a419c6cad51278e506153a6798094d42e
SIZE (sa-stats-1.0.txt) = 8411

22
mail/sa-stats/pkg-descr Normal file
View File

@ -0,0 +1,22 @@
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/