https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6657

--- Comment #4 from Mark Martinec <[email protected]> 2011-09-08 00:02:36 
UTC ---
> I worry that "invalid regexp" and "missing or invalid delimiters" might be too
> vague for troubleshooting this issue.
> 
> Also, I think the docs are indeed ambiguous.

Better?

trunk:
  Bug 6657: tighten header rule parsing syntax check, improve
  error message for a header rule like "exists:References:addr"
  Sending lib/Mail/SpamAssassin/Conf/Parser.pm
  Sending lib/Mail/SpamAssassin/Conf.pm
Committed revision 1166471.


> it is unclear if a blank header will match an exists: test.

Fixed documentation by the above commit. Now it says:

 header SYMBOLIC_TEST_NAME exists:header_field_name

  Define a header field existence test.  "header_field_name" is the
  name of a header field to test for existence.  Not to be confused
  with a test for an empty header field body, which can be
  implemented with a "header SYMBOLIC_TEST_NAME header_field_name op
  /pattern/modifiers" rule described above.


> Assuming 'exists:' does not match an empty (but still present) header

True, since 3.3.0.  See Bug 5965.

-- 
Configure bugmail: 
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to