I’ve added descriptions, grabbing the actual RULE name with awk, and creating 
the list that way.

{
        a=$12;
        print "describe " a " Spam check applied.";
}


The result is like this.
describe LONG_TERM_PRICE Spam check applied.
describe MULTIPART_ALT_NON_TEXT Spam check applied.
describe TVD_IP_OCT Spam check applied.
describe HK_NAME_DR Spam check applied.

etc etc

So fine. Now spamassassin -D —lint returns this - and I know the names are in 
the local.cf file.
, and apparently I now have two nonexistent rules.

This is the total list - BUT - each time I run the same command, it returns a 
slightly different set of about 13 names???

Mar  7 15:04:18.096 [67806] dbg: config: warning: score set for non-existent 
rule AXB_X_AOL_SEZ_S
Mar  7 15:04:18.096 [67806] dbg: config: warning: score set for non-existent 
rule MALFORMED_FREEMAIL
Mar  7 15:04:18.104 [67806] dbg: config: warning: no description set for 
STOX_REPLY_TYPE_WITHOUT_QUOTES
Mar  7 15:04:18.106 [67806] dbg: config: warning: no description set for 
FSL_HELO_DEVICE
Mar  7 15:04:18.107 [67806] dbg: config: warning: no description set for 
DKIM_POLICY_SIGNSOME
Mar  7 15:04:18.107 [67806] dbg: config: warning: no description set for 
DKIM_POLICY_TESTING
Mar  7 15:04:18.108 [67806] dbg: config: warning: no description set for 
KB_FAKED_THE_BAT
Mar  7 15:04:18.109 [67806] dbg: config: warning: no description set for 
CURR_PRICE
Mar  7 15:04:18.110 [67806] dbg: config: warning: no description set for 
LONG_TERM_PRICE
Mar  7 15:04:18.110 [67806] dbg: config: warning: no description set for 
RCVD_IN_BRBL_LASTEXT
Mar  7 15:04:18.114 [67806] dbg: config: warning: no description set for 
SHORT_TERM_PRICE
Mar  7 15:04:18.116 [67806] dbg: config: warning: no description set for 
KB_DATE_CONTAINS_TAB
Mar  7 15:04:18.116 [67806] dbg: config: warning: no description set for 
SB_GIF_AND_NO_URIS
Mar  7 15:04:18.118 [67806] dbg: config: warning: no description set for 
BASE64_LENGTH_78_79
Mar  7 15:04:18.118 [67806] dbg: config: warning: no description set for 
TVD_PH_BODY_META


thanks
Robert


> On 12 Feb 2016, at 09:11, Robert Chalmers <rob...@chalmers.com.au> wrote:
> 
> Yes well, back again.
> 
> sa-update is running, and supposedly updating rules.
> spam assassin -D —lint still shows a long list… however, no longer shows that 
> first one from a while back…
> 
> 
> Feb 12 09:09:30.977 [73122] dbg: config: warning: no description set for 
> HK_SCAM_N2
> Feb 12 09:09:30.977 [73122] dbg: config: warning: no description set for 
> HK_SCAM_N3
> Feb 12 09:09:30.978 [73122] dbg: config: warning: no description set for 
> BASE64_LENGTH_78_79
> Feb 12 09:09:30.979 [73122] dbg: config: warning: no description set for 
> TVD_IP_OCT
> Feb 12 09:09:30.979 [73122] dbg: config: warning: no description set for 
> RCVD_IN_MSPIKE_ZBI
> Feb 12 09:09:30.980 [73122] dbg: config: warning: no description set for 
> JM_TORA_XM
> Feb 12 09:09:30.980 [73122] dbg: config: warning: no description set for 
> STOX_REPLY_TYPE
> Feb 12 09:09:30.981 [73122] dbg: config: warning: no description set for 
> FSL_HELO_NON_FQDN_1
> Feb 12 09:09:30.981 [73122] dbg: config: warning: no description set for 
> JM_RCVD_QMAILV1
> Feb 12 09:09:30.981 [73122] dbg: config: warning: no description set for 
> LOTTERY_1
> Feb 12 09:09:30.981 [73122] dbg: config: warning: no description set for 
> TVD_FINGER_02
> Feb 12 09:09:30.982 [73122] dbg: config: warning: no description set for 
> STOX_AND_PRICE
> Feb 12 09:09:30.982 [73122] dbg: config: warning: no description set for 
> RCVD_IN_BRBL_LASTEXT
> Feb 12 09:09:30.982 [73122] dbg: config: warning: no description set for 
> FSL_HELO_BARE_IP_2
> Feb 12 09:09:30.982 [73122] dbg: config: warning: no description set for 
> HK_NAME_FM_MR_MRS
> Feb 12 09:09:30.982 [73122] dbg: config: warning: no description set for 
> FSL_HELO_SETUP
> Feb 12 09:09:30.983 [73122] dbg: config: warning: no description set for 
> DKIM_POLICY_SIGNALL
> Feb 12 09:09:30.983 [73122] dbg: config: warning: no description set for 
> HELO_FRIEND
> Feb 12 09:09:30.983 [73122] dbg: config: warning: no description set for 
> TVD_RCVD_SPACE_BRACKET
> Feb 12 09:09:30.984 [73122] dbg: config: warning: no description set for 
> TVD_SPACE_RATIO
> Feb 12 09:09:30.984 [73122] dbg: config: warning: no description set for 
> CURR_PRICE
> Feb 12 09:09:30.984 [73122] dbg: config: warning: no description set for 
> FSL_FAKE_HOTMAIL_RVCD
> Feb 12 09:09:30.985 [73122] dbg: config: warning: no description set for 
> FROM_MISSP_SPF_FAIL
> Feb 12 09:09:30.985 [73122] dbg: config: warning: no description set for 
> HK_LOTTO
> Feb 12 09:09:30.985 [73122] dbg: config: warning: no description set for 
> FAKE_REPLY_C
> Feb 12 09:09:30.985 [73122] dbg: config: warning: no description set for 
> TVD_IP_HEX
> Feb 12 09:09:30.985 [73122] dbg: config: warning: no description set for 
> LIVEFILESTORE
> Feb 12 09:09:30.985 [73122] dbg: config: warning: no description set for 
> X_MAILER_CME_6543_MSN
> Feb 12 09:09:30.986 [73122] dbg: config: warning: no description set for 
> HK_SCAM_N1
> Feb 12 09:09:30.986 [73122] dbg: config: warning: no description set for 
> KB_RATWARE_MSGID
> Feb 12 09:09:30.986 [73122] dbg: config: warning: no description set for 
> HIGH_CODEPAGE_URI
> Feb 12 09:09:30.986 [73122] dbg: config: warning: no description set for 
> FSL_HELO_DEVICE
> Feb 12 09:09:30.986 [73122] dbg: config: warning: no description set for 
> SB_GIF_AND_NO_URIS
> Feb 12 09:09:30.986 [73122] dbg: config: warning: no description set for 
> FSL_HELO_FAKE
> Feb 12 09:09:30.986 [73122] dbg: config: warning: no description set for 
> GEO_QUERY_STRING
> Feb 12 09:09:30.986 [73122] dbg: config: warning: no description set for 
> KB_RATWARE_OUTLOOK_08
> Feb 12 09:09:30.987 [73122] dbg: config: warning: no description set for 
> RCVD_FORGED_WROTE2
> Feb 12 09:09:30.987 [73122] dbg: config: warning: no description set for 
> HELO_LOCALHOST
> Feb 12 09:09:30.987 [73122] dbg: config: warning: no description set for 
> HK_SCAM_N15
> Feb 12 09:09:30.987 [73122] dbg: config: warning: no description set for 
> HK_NAME_DR
> Feb 12 09:09:30.988 [73122] dbg: config: warning: no description set for 
> JM_I_FEEL_LUCKY
> Feb 12 09:09:30.988 [73122] dbg: config: warning: no description set for 
> KB_FAKED_THE_BAT
> Feb 12 09:09:30.988 [73122] dbg: config: warning: no description set for 
> PDS_FROM_2_EMAILS
> Feb 12 09:09:30.988 [73122] dbg: config: warning: no description set for 
> KB_DATE_CONTAINS_TAB
> Feb 12 09:09:30.988 [73122] dbg: config: warning: no description set for 
> HTTPS_HTTP_MISMATCH
> Feb 12 09:09:30.988 [73122] dbg: config: warning: no description set for 
> KB_RATWARE_OUTLOOK_12
> Feb 12 09:09:30.988 [73122] dbg: config: warning: no description set for 
> SHORT_TERM_PRICE
> Feb 12 09:09:30.989 [73122] dbg: config: warning: no description set for 
> HK_SCAM_N8
> Feb 12 09:09:30.989 [73122] dbg: config: warning: no description set for 
> LONG_TERM_PRICE
> Feb 12 09:09:30.989 [73122] dbg: config: warning: no description set for 
> THEBAT_UNREG
> Feb 12 09:09:30.990 [73122] dbg: config: warning: no description set for 
> REPLYTO_WITHOUT_TO_CC
> Feb 12 09:09:30.990 [73122] dbg: config: warning: no description set for 
> MID_DEGREES
> Feb 12 09:09:30.991 [73122] dbg: config: warning: no description set for 
> LOTTERY_PH_004470
> Feb 12 09:09:30.991 [73122] dbg: config: warning: no description set for 
> DKIM_POLICY_SIGNSOME
> Feb 12 09:09:30.991 [73122] dbg: config: warning: no description set for 
> FSL_INTERIA_ABUSE
> Feb 12 09:09:30.991 [73122] dbg: config: warning: no description set for 
> L_SPAM_TOOL_13
> Feb 12 09:09:30.992 [73122] dbg: config: warning: no description set for 
> STOCK_PRICES
> Feb 12 09:09:30.992 [73122] dbg: config: warning: no description set for 
> DOS_STOCK_BAT2
> Feb 12 09:09:30.992 [73122] dbg: config: warning: no description set for 
> DKIM_POLICY_TESTING
> Feb 12 09:09:30.992 [73122] dbg: config: warning: no description set for 
> DKIM_VERIFIED
> Feb 12 09:09:30.992 [73122] dbg: config: warning: no description set for 
> KB_RATWARE_OUTLOOK_MID
> Feb 12 09:09:30.993 [73122] dbg: config: warning: no description set for 
> CTYPE_001C_B
> Feb 12 09:09:30.993 [73122] dbg: config: warning: no description set for 
> SHORTENED_URL_SRC
> Feb 12 09:09:30.994 [73122] dbg: config: warning: no description set for 
> TVD_PP_PHISH
> Feb 12 09:09:30.994 [73122] dbg: config: warning: no description set for 
> MULTIPART_ALT_NON_TEXT
> Feb 12 09:09:30.994 [73122] dbg: config: warning: no description set for 
> HELO_LH_LD
> Feb 12 09:09:30.994 [73122] dbg: config: warning: no description set for 
> HTML_TITLE_SUBJ_DIFF
> Feb 12 09:09:30.994 [73122] dbg: config: warning: no description set for 
> TVD_EB_PHISH
> Feb 12 09:09:30.995 [73122] dbg: config: warning: no description set for 
> MSGID_DOLLARS_RANDOM
> Feb 12 09:09:30.995 [73122] dbg: config: warning: no description set for 
> FSL_MIME_NO_TEXT
> Feb 12 09:09:30.996 [73122] dbg: config: warning: no description set for 
> TVD_PH_BODY_META
> Feb 12 09:09:30.996 [73122] dbg: config: warning: no description set for 
> CTYPE_001C_A
> Feb 12 09:09:30.996 [73122] dbg: config: warning: no description set for 
> DCC_REPUT_13_19
> Feb 12 09:09:30.997 [73122] dbg: config: warning: no description set for 
> HK_SCAM_N13
> Feb 12 09:09:30.997 [73122] dbg: config: warning: no description set for 
> BUG6152_INVALID_DATE_TZ_ABSURD
> Feb 12 09:09:30.998 [73122] dbg: config: warning: no description set for 
> KB_RATWARE_BOUNDARY
> Feb 12 09:09:30.998 [73122] dbg: config: warning: no description set for 
> MSOE_MID_WRONG_CASE
> Feb 12 09:09:30.999 [73122] dbg: config: warning: no description set for 
> HELO_LH_HOME
> Feb 12 09:09:30.999 [73122] dbg: config: warning: no description set for 
> STOX_REPLY_TYPE_WITHOUT_QUOTES
> Feb 12 09:09:31.000 [73122] dbg: config: warning: no description set for 
> KB_RATWARE_OUTLOOK_16
> Feb 12 09:09:31.000 [73122] dbg: config: warning: no description set for 
> MIME_BOUND_EQ_REL
> Feb 12 09:09:31.000 [73122] dbg: config: warning: no description set for 
> HK_NAME_MR_MRS
> Feb 12 09:09:31.000 [73122] dbg: config: warning: no description set for 
> HELO_OEM
> Feb 12 09:09:31.000 [73122] dbg: config: warning: no description set for 
> FSL_HELO_BARE_IP_1
> 
> 
>> On 10 Feb 2016, at 14:24, Reindl Harald <h.rei...@thelounge.net 
>> <mailto:h.rei...@thelounge.net>> wrote:
>> 
>> 
>> 
>> Am 08.02.2016 um 19:18 schrieb John Hardin:
>>> On Mon, 8 Feb 2016, Reindl Harald wrote:
>>> 
>>>> Am 08.02.2016 um 18:58 schrieb Robert Chalmers:
>>>>> I have quite a list of these in the output from spam assassin -D —lint
>>>> 
>>>> they should be part of the rules itself and i don't understand why
>>>> rule writes don't run "-D --lint" regulary *before* publish
>>> 
>>> I do, every time before I check in, with various combinations of
>>> disabled plugins. I don't worry that much about cosmetic warnings, I'm
>>> primarily looking for things that will *kill* SA. That's bitten me
>>> before and it's extremely embarrassing.
>>> 
>>>> "describe RULNE_NAME description" in local.cf if you really find it
>>>> worth instead write a bugreport
>>> 
>>> DO NOT file a bug for those, they are cosmetic. Complain here on the
>>> users list
>> 
>> here we go:
>> 
>> BASE64_LENGTH_78_79
>> BUG6152_INVALID_DATE_TZ_ABSURD
>> CTYPE_001C_A
>> CTYPE_001C_B
>> CURR_PRICE
>> DKIM_POLICY_SIGNALL
>> DKIM_POLICY_SIGNSOME
>> DKIM_POLICY_TESTING
>> DKIM_VERIFIED
>> DOS_STOCK_BAT2
>> FAKE_REPLY_C
>> FROM_MISSP_SPF_FAIL
>> FSL_FAKE_HOTMAIL_RVCD
>> FSL_HELO_BARE_IP_1
>> FSL_HELO_BARE_IP_2
>> FSL_HELO_DEVICE
>> FSL_HELO_FAKE
>> FSL_HELO_NON_FQDN_1
>> FSL_HELO_SETUP
>> FSL_INTERIA_ABUSE
>> FSL_MIME_NO_TEXT
>> GEO_QUERY_STRING
>> HELO_FRIEND
>> HELO_LH_HOME
>> HELO_LH_LD
>> HELO_LOCALHOST
>> HELO_OEM
>> HIGH_CODEPAGE_URI
>> HK_LOTTO
>> HK_NAME_DR
>> HK_NAME_FM_MR_MRS
>> HK_NAME_MR_MRS
>> HK_SCAM_N1
>> HK_SCAM_N15
>> HK_SCAM_N2
>> HK_SCAM_N3
>> HK_SCAM_N8
>> HTML_TITLE_SUBJ_DIFF
>> HTTPS_HTTP_MISMATCH
>> JM_I_FEEL_LUCKY
>> JM_RCVD_QMAILV1
>> JM_TORA_XM
>> KB_DATE_CONTAINS_TAB
>> KB_FAKED_THE_BAT
>> KB_RATWARE_BOUNDARY
>> KB_RATWARE_MSGID
>> KB_RATWARE_OUTLOOK_08
>> KB_RATWARE_OUTLOOK_12
>> KB_RATWARE_OUTLOOK_16
>> KB_RATWARE_OUTLOOK_MID
>> LIVEFILESTORE
>> LONG_TERM_PRICE
>> LOTTERY_1
>> LOTTERY_PH_004470
>> L_SPAM_TOOL_13
>> MID_DEGREES
>> MIME_BOUND_EQ_REL
>> MSGID_DOLLARS_RANDOM
>> MSOE_MID_WRONG_CASE
>> MULTIPART_ALT_NON_TEXT
>> PDS_FROM_2_EMAILS
>> RCVD_FORGED_WROTE2
>> RCVD_IN_BRBL_LASTEXT
>> RCVD_IN_MSPIKE_ZBI
>> REPLYTO_WITHOUT_TO_CC
>> SB_GIF_AND_NO_URIS
>> SHORTENED_URL_SRC
>> SHORT_TERM_PRICE
>> STOCK_PRICES
>> STOX_AND_PRICE
>> STOX_REPLY_TYPE
>> STOX_REPLY_TYPE_WITHOUT_QUOTES
>> THEBAT_UNREG
>> TVD_EB_PHISH
>> TVD_FINGER_02
>> TVD_IP_HEX
>> TVD_IP_OCT
>> TVD_PH_BODY_META
>> TVD_PP_PHISH
>> TVD_RCVD_SPACE_BRACKET
>> TVD_SPACE_ENCODED
>> TVD_SPACE_ENC_FM_MIME
>> TVD_SPACE_RATIO
>> TVD_SPACE_RATIO_MINFP
>> X_MAILER_CME_6543_MSN
> 
> Robert Chalmers
> rob...@chalmers.com <mailto:rob...@chalmers.com>.au  Quantum Radio: 
> http://tinyurl.com/lwwddov <http://tinyurl.com/lwwddov>
> Mac mini 6.2 - 2012, Intel Core i7,2.3 GHz, Memory:16 GB. El-Capitan 10.11. 
> 2TB Storage made up of - 
> Drive 0:HGST HTS721010A9E630. Upper bay. Drive 1:ST1000LM024 HN-M101MBB. 
> Lower Bay
> 
> 
> 

Robert Chalmers
rob...@chalmers.com <mailto:rob...@chalmers.com>.au  Quantum Radio: 
http://tinyurl.com/lwwddov
Mac mini 6.2 - 2012, Intel Core i7,2.3 GHz, Memory:16 GB. El-Capitan 10.11.  
XCode 7.2.1
2TB: Drive 0:HGST HTS721010A9E630. Upper bay. Drive 1:ST1000LM024 HN-M101MBB. 
Lower Bay




Reply via email to