Bug 7586 - Lint does not detect/report unsupported modifiers
Summary: Lint does not detect/report unsupported modifiers
Status: NEW
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: spamassassin (show other bugs)
Version: SVN Trunk (Latest Devel Version)
Hardware: PC Linux
: P2 normal
Target Milestone: Undefined
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-23 00:11 UTC by John Hardin
Modified: 2018-05-23 00:11 UTC (History)
0 users



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description John Hardin 2018-05-23 00:11:46 UTC
If an unsupported modifier is used on a rule, lint will not catch it and the rule will not behave as expected.

Example:

  header  __LINT_MODIF_UNSUPP  From:address =~ /.*/i

More generally:

  header  __LINT_MODIF_UNSUPP  From:fnord =~ /.*/i