Bug in "Max Spamassassin Size" parameter parsing - MailScanner 4. 56.7-2

Randal, Phil prandal at herefordshire.gov.uk
Fri Oct 6 12:02:29 IST 2006


I'd set 

  Max Spamassassin Size = 40k

and spamassassin was only scoring on headers, and hitting my
L_MISSING_BODY rule.

  # must use 'rawbody' as 'body' also includes Subject: header text
  # see if message rawbody contains at least -one- non-blank character
  rawbody __MSG_RAW_EXISTS        /\S/
  # Nope, declare the message to be missing the body
  meta L_MISSING_BODY     ! __MSG_RAW_EXISTS
  describe L_MISSING_BODY Message body empty
  score L_MISSING_BODY    0.5

Changing it to 

  Max Spamassassin Size = 40000

fixes the problem.

Cheers,

Phil

--
Phil Randal
Network Engineer
Herefordshire Council
Hereford, UK 


More information about the MailScanner mailing list