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

             Bug #: 6657
           Summary: can't have both header existence test and header field
                    modifier, e.g. exists:References:addr
           Product: Spamassassin
           Version: 3.3 SVN branch
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Rules
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


The following example rule is invalid:

header  __HAS_REFERENCES_ADDR  exists:References:addr


It generates:

lint: config: invalid regexp for rule __T_AK_HAS_REFERENCES_ADDR: : missing or
invalid delimiters


I expected it to be identical to:

header  __HAS_REFERENCES_ADDR  References:addr =~ /^\S/


If this functionality is undesired, the documentation should forbid it.

(This is not a regression afaict.)

-- 
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