You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by "Kevin A. McGrail" <ke...@thoughtworthy.com> on 2007/12/04 17:50:49 UTC
dependency question
Using SA 3.2.3, I've got the following rule:
if (version < 3.200000)
#HTML_SHORT_LENGTH DEPENDENCY RULE REMOVED FROM SA 3.2.X
#KAM NUMBER EMAILS - Thanks to Mark Damrose for the NUMBER3 idea & Jan-Pieter Cornet
header __KAM_NUMBER1 Subject =~ /^\d+$/
body __KAM_NUMBER2 /\d{1,6}/
header __KAM_NUMBER3 Message-ID =~ /\<[a-z]{19}\@/i
meta KAM_NUMBER ((__KAM_NUMBER1 + __KAM_NUMBER2 + MIME_HTML_ONLY + HTML_SHORT_LENGTH + __KAM_NUMBER3) >= 5)
describe KAM_NUMBER Silly Number Emails
score KAM_NUMBER 1.0
endif
However, spamassassin -D --lint still shows
[16507] dbg: rules: meta test KAM_NUMBER has undefined dependency 'HTML_SHORT_LENGTH'
Shouldn't the if loop avoid this issue during a lint?
Regards,
KAM