http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5207





------- Additional Comments From [EMAIL PROTECTED]  2007-07-13 09:54 -------
(In reply to comment #8)
> This isn't a false positive.  The rule doesn't mean the header doesn't exist, 
> it
> means there isn't at least one character in the header after the initial
> whitespace.  This is true of your message.

I posted the following to the users@ list today, but I want to put it here for
future reference:

I'll try to keep it short, but here's what's going on:

A header is parsed as:
  "[header_name]:[optional_whitespace][header_data]"

The header "exists:header_name" test really converts into:
  header_data =~ /./

which requires that there be a character in the header_data.

MISSING_SUBJECT is the inverse of the "exists:Subject" rule, made using 
a meta rule.  

If the Subject header is actually missing, then there is no header_data, and 
therefore the "/./" test fails.

If the Subject header exists, but has nothing but whitespace after the 
colon ... there's no header_data, and therefore the "/./" test fails.




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to