On Wed, 25 Mar 2009, Kris Deugau wrote:

John Hardin wrote:
 On Wed, 25 Mar 2009, Giampaolo Tomassoni wrote:
>  So why this actually works to me?
> > rawbody LARGETABLE
>  m'<tr\W(?:[^<]|<(?!t[dr]\W))*(?:<td\W(?:[^<]|<(?!t[rd]\W))*){30,}</tr'is
> > Got SA 3.2.4.

 I had forgotten about tflags multiple - when did multiline rawbody get
 added?

I thought "rawbody" was, literally, the raw message body considered as a single string. There's an intermediate form you may be thinking of instead (base64-decoded, quoted-printable decoded, may be broken down line-by-line).

I've been using rawbody rules to match over multiple lines in the body for a while now (3.2.x)

I'm holding off on creating a rule for the empty-table "content" in these messages myself to see how much of a problem they are locally.

Then the documentation appears to be out of date. From http://spamassassin.apache.org/full/3.2.x/doc/Mail_SpamAssassin_Conf.html:

rawbody SYMBOLIC_TEST_NAME /pattern/modifiers
The text will be decoded from base64 or quoted-printable encoding, but HTML tags and line breaks will still be present. The pattern will be applied line-by-line.

--
 John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
 jhar...@impsec.org    FALaholic #11174     pgpk -a jhar...@impsec.org
 key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  False is the idea of utility that sacrifices a thousand real
  advantages for one imaginary or trifling inconvenience; that would
  take fire from men because it burns, and water because one may drown
  in it; that has no remedy for evils except destruction. The laws
  that forbid the carrying of arms are laws of such a nature. They
  disarm only those who are neither inclined nor determined to commit
  crime.               -- Cesare Beccaria, quoted by Thomas Jefferson
-----------------------------------------------------------------------
 63 days since Obama's inauguration and still no unicorn!

Reply via email to