Package: spamassassin
Version: 3.1.3-1
Severity: normal

Consider this header:
  X-Keywords:            a                  b         
("X-Keywords:            a                  b         ")
Would you believe that all we can match on is
                        "a                  b"
Why throw away the ability to match on / $|b | a/ ? :raw doesn't help.
No way to catch an X-Keywords: followed by hundreds of blanks.
Man page "header" description doesn't say what is going on either.

OK, had to use
full J_KEYWORDS_BLANK /^X-Keywords:  {99,}$/m
But still no way to catch any header in general, with lots of trailing blanks.

P.S. spamassassin adds some blanks of its own:
       fold_headers ( 0 | 1 )        (default: 1)
           By default,  headers added by SpamAssassin will be whitespace
           folded.  In other words, they will be broken up into multiple lines
           instead of one very long one and each other line will have a tabu-
           lator prepended to mark it as a continuation of the preceding one.
And it leaves the trailing blank.
$ grep ' $' will show them, or use emacs' show-trailing-whitespace.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to