http://bugzilla.spamassassin.org/show_bug.cgi?id=4071

           Summary: invalid meta rules cause perl syntax errors with --lint
           Product: Spamassassin
           Version: 3.0.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Rules
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


I had this rule:

meta ANTIVIRUS_BOUNCE __SUBJECT_AV __BODY_AV

This is incorrect.  spamassassin --lint didn't give me much of a hint:

Scalar found where operator expected at (eval 52) line 334, near "} $self"
        (Missing operator before  $self?)
Failed to run meta SpamAssassin tests, skipping some: syntax error at (eval 52)
line 334, near "} $self"

lint: 1 issues detected.  please rerun with debug enabled for more information.

--debug didn't help any more.  The error message here could be much improved. 
As it was, I had to do binary search by removing parts of my user_prefs file to
figure out what was going on.



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

Reply via email to