spamassassin-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin A. McGrail" <kevin.mcgr...@thoughtworthy.com>
Subject dependency question
Date Tue, 04 Dec 2007 16:50:49 GMT
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

Mime
View raw message