Bug 5335 - need command-line option to query about rules
Summary: need command-line option to query about rules
Status: NEW
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: spamassassin (show other bugs)
Version: unspecified
Hardware: Other other
: P5 enhancement
Target Milestone: Undefined
Assignee: SpamAssassin Developer Mailing List
Depends on:
Reported: 2007-02-15 06:36 UTC by Eric A. Hall
Modified: 2007-02-15 06:36 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 Eric A. Hall 2007-02-15 06:36:42 UTC
It's very hard to get information about rules that are currently being used. A
command-line option to the spamassassin executable to query about rules would be
very useful.

A typical scenario goes something like this: a spam is hitting a particular
rule, and I need to find the default score for that rule to see if it can be
tweaked. First I have to find the rule before I can see what it does (which may
not be what I think it does) and locate the score, etc. This can be very time
consuming in some cases.

A simple command-line option like --show-rule=RULE that returned all known
information (rule syntax, score, description, etc) would make rule-management
much much easier on operators.