https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6527
Summary: mkrules erroneously omits nopublish rules from
masscheck
Product: Spamassassin
Version: SVN Trunk (Latest Devel Version)
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Building & Packaging
AssignedTo: [email protected]
ReportedBy: [email protected]
http://www.gossamer-threads.com/lists/spamassassin/devel/158708
Earlier I discovered that certain rules wrapped in ifplugin were no longer
being included in the nightly/weekly masscheck. For example:
http://svn.apache.org/repos/asf/spamassassin/trunk/rulesrc/sandbox/wtogami/20_bug_6220_sem.cf
ifplugin Mail::SpamAssassin::Plugin::URIDNSBL
# SEM-URI
urirhssub SEM_URI uribl.spameatingmonkey.net. A 2
body SEM_URI eval:check_uridnsbl('SEM_URI')
describe SEM_URI Contains a URI listed by SEM-URI
tflags SEM_URI net nopublish
...
endif
This and many other rules are excluded from masscheck due to a buggy new
behavior in mkrules, apparently related to being marked nopublish. The intent
of nopublish is to prevent them from being published in sa-update, not to
prevent them from being tested in masscheck. Indeed other rules like
RCVD_IN_SEMBLACK are marked nopublish, but they continue to work in masschecks.
# build/mkrules --exit_on_no_src --src rulesrc --out rules --manifest MANIFEST
--manifestskip MANIFEST.SKIP
rulesrc/10_force_active.cf: 0 active rules, 0 other
rulesrc/sandbox/axb/20_axb_misc.cf: 2 active rules, 9 other
rulesrc/sandbox/axb/20_axb_pdf.cf: 2 active rules, 0 other
rulesrc/sandbox/axb/20_bug_6215.cf: 1 active rules, 0 other
rulesrc/sandbox/dos/20_uri.cf: 1 active rules, 2 other
rulesrc/sandbox/dos/70_bugs.cf: 0 active rules, 0 other
rulesrc/sandbox/dos/70_other.cf: 14 active rules, 108 other
rulesrc/sandbox/duncf/20_debt.cf: 2 active rules, 0 other
rulesrc/sandbox/duncf/20_header.cf: 1 active rules, 2 other
rulesrc/sandbox/emailed/00_FVGT_File001.cf: 234 active rules, 371 other
rulesrc/sandbox/emailed/99_alex_dev.cf: 6 active rules, 3 other
rulesrc/sandbox/emailed/99_alex_test.cf: 1 active rules, 0 other
rulesrc/sandbox/fanf/10_headers.cf: 1 active rules, 3 other
rulesrc/sandbox/fanf/20_uri_tests.cf: 0 active rules, 1 other
rulesrc/sandbox/fanf/30_text.cf: 3 active rules, 1 other
rulesrc/sandbox/felicity/70_dnswl.cf: 5 active rules, 0 other
rulesrc/sandbox/felicity/70_iadb.cf: 27 active rules, 0 other
rulesrc/sandbox/felicity/70_other.cf: 56 active rules, 47 other
rulesrc/sandbox/felicity/70_phishing.cf: 10 active rules, 46 other
rulesrc/sandbox/fredt/99_zFVGT_FakeReply.cf: 1 active rules, 70 other
rulesrc/sandbox/hege/20_hk.cf: 19 active rules, 87 other
rulesrc/sandbox/hstern/20_body_tests.cf: 6 active rules, 2 other
rulesrc/sandbox/hstern/20_head_tests.cf: 3 active rules, 2 other
rulesrc/sandbox/hstern/20_meta_tests.cf: 1 active rules, 0 other
rulesrc/sandbox/hstern/20_uri_tests.cf: 3 active rules, 13 other
rulesrc/sandbox/hstern/70_syndicate.cf: 1 active rules, 15 other
rulesrc/sandbox/jhardin/20_MIME_no_text.cf: 3 active rules, 3 other
rulesrc/sandbox/jhardin/20_advance_fee_reevolved.cf: 7 active rules, 9 other
rulesrc/sandbox/jhardin/20_fillform.cf: 14 active rules, 0 other
rulesrc/sandbox/jhardin/20_lotsa_money.cf: 29 active rules, 94 other
rulesrc/sandbox/jhardin/20_misc_testing.cf: 54 active rules, 94 other
rulesrc/sandbox/jhardin/20_tbird_image_spam.cf: 11 active rules, 13 other
rulesrc/sandbox/jhardin/20_uri_obfu_ws.cf: 2 active rules, 0 other
rulesrc/sandbox/jm/20_basic.cf: 48 active rules, 69 other
rulesrc/sandbox/jm/20_bug_5920.cf: 0 active rules, 3 other
rulesrc/sandbox/jm/20_bug_5984.cf: 2 active rules, 0 other
rulesrc/sandbox/jm/20_bug_6000.cf: 0 active rules, 2 other
rulesrc/sandbox/jm/20_bug_6152.cf: 1 active rules, 0 other
rulesrc/sandbox/jm/20_dob.cf: 1 active rules, 0 other
rulesrc/sandbox/jm/20_games.cf: 0 active rules, 3 other
rulesrc/sandbox/jm/20_sought.cf: 0 active rules, 192 other
rulesrc/sandbox/jm/20_sought2.cf: 0 active rules, 3 other
rulesrc/sandbox/jm/20_sought_fraud.cf: 3 active rules, 481 other
rulesrc/sandbox/jm/20_storm.cf: 0 active rules, 2 other
rulesrc/sandbox/jm/20_xmailer.cf: 43 active rules, 86 other
rulesrc/sandbox/jm/22_bug_5667.cf: 0 active rules, 0 other
rulesrc/sandbox/jm/70_tt_drugs.cf: 2 active rules, 10 other
rulesrc/sandbox/kb/20_bug_6156.cf: 2 active rules, 0 other
rulesrc/sandbox/kb/20_header.cf: 3 active rules, 2 other
rulesrc/sandbox/kb/70_misc.cf: 7 active rules, 19 other
rulesrc/sandbox/kb/75_de.cf: 0 active rules, 1 other
rulesrc/sandbox/khopesh/20_bug_6271.cf: 8 active rules, 0 other
rulesrc/sandbox/khopesh/20_chickenpox.cf: 0 active rules, 10 other
rulesrc/sandbox/khopesh/20_isc_attackers.cf: 0 active rules, 2 other
rulesrc/sandbox/khopesh/20_khop_bl.cf: 5 active rules, 15 other
rulesrc/sandbox/khopesh/20_khop_blessed.cf: 6 active rules, 9 other
rulesrc/sandbox/khopesh/20_khop_dynamic.cf: 0 active rules, 12 other
rulesrc/sandbox/khopesh/20_khop_experimental.cf: 8 active rules, 76 other
rulesrc/sandbox/khopesh/20_khop_general.cf: 8 active rules, 6 other
rulesrc/sandbox/khopesh/20_khop_lists.cf: 0 active rules, 16 other
rulesrc/sandbox/khopesh/20_khop_sc_bug_6114.cf: 0 active rules, 22 other
rulesrc/sandbox/khopesh/20_rcd_rdns.cf: 0 active rules, 24 other
rulesrc/sandbox/khopesh/20_s25r.cf: 2 active rules, 11 other
rulesrc/sandbox/khopesh/20_spamdb_subjects.cf: 0 active rules, 1 other
rulesrc/sandbox/khopesh/20_trust.cf: 5 active rules, 2 other
rulesrc/sandbox/khopesh/65_debian.cf: 0 active rules, 11 other
rulesrc/sandbox/kmcgrail/20_test.cf: 2 active rules, 41 other
rulesrc/sandbox/kmcgrail/70_mx.cf: 0 active rules, 4 other
rulesrc/sandbox/kmcgrail/70_phishing.cf: 0 active rules, 1 other
rulesrc/sandbox/kmcgrail/80_deadrules.cf: 6 active rules, 0 other
rulesrc/sandbox/maddoc/99_doc_test.cf: 11 active rules, 35 other
rulesrc/sandbox/maddoc/99_fsl_testing.cf: 7 active rules, 8 other
rulesrc/sandbox/mkettler/20_drugs.cf: 2 active rules, 0 other
rulesrc/sandbox/mkettler/25_uribl.cf: 5 active rules, 0 other
rulesrc/sandbox/mmartinec/20_misc.cf: 0 active rules, 13 other
rulesrc/sandbox/mmartinec/20_rpvalid.cf: 1 active rules, 0 other
rulesrc/sandbox/sidney/70_other.cf: 0 active rules, 1 other
rulesrc/sandbox/wtogami/20_bug_6212_hostkarma.cf: 4 active rules, 5 other
rulesrc/sandbox/wtogami/20_bug_6220_sem.cf: 3 active rules, 1 other
rulesrc/sandbox/wtogami/20_googlecache.cf: 0 active rules, 1 other
rulesrc/sandbox/wtogami/20_mailspike.cf: 0 active rules, 15 other
rulesrc/sandbox/wtogami/20_misc.cf: 0 active rules, 0 other
rulesrc/sandbox/wtogami/20_rp_certified.cf: 3 active rules, 0 other
rulesrc/sandbox/wtogami/20_ubl.cf: 0 active rules, 0 other
rulesrc/sandbox/wtogami/20_unsafe.cf: 0 active rules, 0 other
rulesrc/sandbox/wtogami/20_vanity.cf: 1 active rules, 22 other
omitting rule T_DATE_IN_DISTANT_FUTURE ifplugin
Mail::SpamAssassin::Plugin::HeaderEval due to tflags nopublish (tflags
nopublish)
omitting rule T_DATE_IN_FUTURE_1Y_4Y ifplugin
Mail::SpamAssassin::Plugin::HeaderEval due to tflags nopublish (tflags
nopublish)
omitting rule T_DATE_IN_FUTURE_96_WEEK ifplugin
Mail::SpamAssassin::Plugin::HeaderEval due to tflags nopublish (tflags
nopublish)
omitting rule T_DATE_IN_FUTURE_MONTH ifplugin
Mail::SpamAssassin::Plugin::HeaderEval due to tflags nopublish (tflags
nopublish)
omitting rule T_DATE_IN_FUTURE_WEEK ifplugin
Mail::SpamAssassin::Plugin::HeaderEval due to tflags nopublish (tflags
nopublish)
omitting rule T_DATE_IN_FUTURE_YEAR ifplugin
Mail::SpamAssassin::Plugin::HeaderEval due to tflags nopublish (tflags
nopublish)
omitting rule T_DNSBL_INDIRECT ifplugin Mail::SpamAssassin::Plugin::DNSEval # {
due to tflags nopublish (tflags net nopublish)
omitting rule T_DNSBL_INDIRECT_UNSAFE ifplugin
Mail::SpamAssassin::Plugin::DNSEval # { due to tflags nopublish (tflags net
nopublish)
omitting rule T_DNSBL_INDIRECT_UNSAFE_2 ifplugin
Mail::SpamAssassin::Plugin::DNSEval # { due to tflags nopublish (tflags net
nopublish)
omitting rule T_KHOP_FOREIGN_CLICK due to tflags nopublish (tflags nopublish)
omitting rule T_KHOP_PGP_INLINE if ! plugin
(Mail::SpamAssassin::Plugin::OpenPGP) due to tflags nopublish (tflags nice
noautolearn nopublish)
omitting rule T_KHOP_PGP_SIGNED if ! plugin
(Mail::SpamAssassin::Plugin::OpenPGP) due to tflags nopublish (tflags nice
noautolearn nopublish)
omitting rule T_MONEY_FREEMAIL ifplugin Mail::SpamAssassin::Plugin::FreeMail
due to tflags nopublish (tflags nopublish)
omitting rule T_RCVD_IN_NIX_SPAM ifplugin Mail::SpamAssassin::Plugin::DNSEval #
{ due to tflags nopublish (tflags net nopublish)
omitting rule T_RCVD_IN_SPAMCOP ifplugin Mail::SpamAssassin::Plugin::DNSEval #
{ due to tflags nopublish (tflags net nopublish)
omitting rule T_SEM_FRESH ifplugin Mail::SpamAssassin::Plugin::URIDNSBL due to
tflags nopublish (tflags net nopublish)
omitting rule T_SEM_URI ifplugin Mail::SpamAssassin::Plugin::URIDNSBL due to
tflags nopublish (tflags net nopublish)
omitting rule T_SEM_URIRED ifplugin Mail::SpamAssassin::Plugin::URIDNSBL due to
tflags nopublish (tflags net nopublish)
omitting rule T_URIBL_HOSTKARMA_BL ifplugin
Mail::SpamAssassin::Plugin::URIDNSBL due to tflags nopublish (tflags net
nopublish)
omitting rule T_URIBL_HOSTKARMA_BR ifplugin
Mail::SpamAssassin::Plugin::URIDNSBL due to tflags nopublish (tflags net
nopublish)
omitting rule T_URIBL_HOSTKARMA_FRESH_10D ifplugin
Mail::SpamAssassin::Plugin::URIDNSBL due to tflags nopublish (tflags net
nopublish)
omitting rule T_URIBL_HOSTKARMA_FRESH_2D ifplugin
Mail::SpamAssassin::Plugin::URIDNSBL due to tflags nopublish (tflags net
nopublish)
omitting rule T_URIBL_META_SURBL_ANY ifplugin
Mail::SpamAssassin::Plugin::URIDNSBL due to tflags nopublish (tflags net
nopublish)
--
Configure bugmail:
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.