Bug 6765 - Add option to spamassasin script to report from which .cf file messages were generated from when running -D --lint
Add option to spamassasin script to report from which .cf file messages were ...
Status: NEW
Product: Spamassassin
Classification: Unclassified
Component: spamassassin
unspecified
All All
: P2 enhancement
: Undefined
Assigned To: SpamAssassin Developer Mailing List
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2012-02-24 12:21 UTC by simon
Modified: 2012-02-24 12:21 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 simon 2012-02-24 12:21:07 UTC
Example problem.
An error exists in a .cf file. Spamassassin -D --lint reports a warn and the possible problem.  e.g warn: missing body statement in ruleset.

* One cannot know which .cf file the error came from?  

Solution.
Add option to spamassassin to include the file where the error was found.
e.g. warn: missing body statement in ruleset, found in file myrules.cf
This could simply accessed by adding a -DD option to Spamassassin to increase verbosity.