spamassassin-dev November 2011 archive
Main Archive Page > Month Archives  > spamassassin-dev archives
spamassassin-dev: [Bug 6527] mkrules erroneously omits nopublish

[Bug 6527] mkrules erroneously omits nopublish rules from masscheck

From: <bugzilla-daemon_at_nospam>
Date: Tue Nov 08 2011 - 01:59:43 GMT
To: dev@spamassassin.apache.org

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6527

Adam Katz <antispam@khopis.com> changed:

           What |Removed |Added
----------------------------------------------------------------------------
                 CC| |antispam@khopis.com

--- Comment #8 from Adam Katz <antispam@khopis.com> 2011-11-08 01:59:43 UTC ---
Any updates on this?

Why not just rename rules that have been auto-promoted via dependencies so that
they aren't published with the T_ prefix? (I assume the GA will end up scoring
these things near-zero, but if that's an unfair assumption, the promotion
process should score them at +/- 0.001 so they are effectively __ rules.)

There are currently 73 T_ rules live in 3.3.2 and 77 on the trunk.

% host -ttxt 0.4.3.updates.spamassassin.org
0.4.3.updates.spamassassin.org is an alias for 2.3.3.updates.spamassassin.org.
2.3.3.updates.spamassassin.org descriptive text "1195874"
% host -ttxt mirrors.updates.spamassassin.org.
mirrors.updates.spamassassin.org descriptive text
"http://spamassassin.apache.org/updates/MIRRORED.BY"
% curl http://spamassassin.apache.org/updates/MIRRORED.BY |grep -m1 ^h
http://daryl.dostech.ca/sa-update/asf/ weight=5
% curl -s http://daryl.dostech.ca/sa-update/asf/1139740.tar.gz |tar -zxf -
% awk '$1$2 !~ /#/ && $2 ~ /^T_/ && $1 !~ /^(reuse|describe|replace_rules)/
{rule++} END {print rule}' *.cf
73

Here is the list of rules on trunk (remove the 'pr -t3' and perhaps the '{print
$2}' if you want to do something with this list):

% awk '$1$2 !~ /#/ && $2 ~ /^T_/ && $1 !~ /^(reuse|describe|replace_rules)/
{print $2}' trunk/rules/72_active.cf |sort |uniq |pr -t3

T_DKIM_INVALID T_FRT_HOUR T_HK_NAME_FM_MR_MRS
T_DOS_OUTLOOK_TO_MX_IMA T_FRT_INCOME T_HK_NAME_FROM
T_DOS_ZIP_HARDCORE T_FRT_INTEREST T_HK_NAME_MR_MRS
T_EMRCP T_FRT_LITTLE T_HTML_ATTACH
T_FILL_THIS_FORM_SHORT T_FRT_LOLITA1 T_KHOP_FOREIGN_CLICK
T_FORGED_TBIRD_IMG_SIZE T_FRT_OPPORTUN1 T_LARGE_PCT_AFTER_MANY
T_FREEMAIL_DOC_PDF T_FRT_PACKAGE T_LFUZ_PWRMALE
T_FREEMAIL_FORGED_FROMD T_FRT_PAYMENT T_LOTTO_AGENT_FM
T_FREEMAIL_RVW_ATTCH T_FRT_PHARMAC T_LOTTO_AGENT_RPLY
T_FRM_SILVER_GOLD T_FRT_POSSIBLE T_LOTTO_DEPT
T_FRT_ABSOLUT T_FRT_PROFILE1 T_LOTTO_URI
T_FRT_ADULT2 T_FRT_PROFILE2 T_MIME_NO_TEXT
T_FRT_BEFORE T_FRT_PROFIT1 T_MONEY_PERCENT
T_FRT_BELOW2 T_FRT_PROFIT2 T_OBFU_DOC_ATTACH
T_FRT_CANSPAM T_FRT_PUSSY T_OBFU_GIF_ATTACH
T_FRT_CLICK T_FRT_SLUT T_OBFU_HTML_ATTACH
T_FRT_COCK T_FRT_STOCK1 T_OBFU_JPG_ATTACH
T_FRT_CONTACT T_FRT_STOCK2 T_OBFU_PDF_ATTACH
T_FRT_ESTABLISH T_FRT_VIRGIN1 T_REMOTE_IMAGE
T_FRT_EXPERIENCE T_FUZZY_OPTOUT T_SHARE_50_50
T_FRT_FOLLOW1 T_FUZZY_SPRM T_TVD_FUZZY_SECTOR
T_FRT_FOLLOW2 T_HEADER_FROM_DIFFERENT T_TVD_FUZZY_SECURITIES
T_FRT_FREE T_HK_NAME_DR T_TVD_FW_GRAPHIC_ID2
T_FRT_FRIEND T_HK_NAME_FM_DR T_TVD_MIME_EPI
T_FRT_FUCK1 T_HK_NAME_FM_FROM T_TVD_MIME_NO_HEADERS
T_FRT_HEALTH

-- Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.