Bug 6785 - Add option to display current config values of SA
Summary: Add option to display current config values of SA
Status: RESOLVED WONTFIX
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: spamassassin (show other bugs)
Version: 3.3.1
Hardware: PC Linux
: P2 minor
Target Milestone: Undefined
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-03 19:56 UTC by Nelson A. de Oliveira
Modified: 2022-04-25 21:03 UTC (History)
1 user (show)



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 Nelson A. de Oliveira 2012-04-03 19:56:27 UTC
Is it possible to have an option that can display the current config values of spamassassin, please?

Something like "postconf -d" (prints default parameter settings instead of actual settings) + "postconf -n" (prints parameter settings that are not left at their built-in default value).

Thank you!
Comment 1 Sidney Markowitz 2022-04-25 21:03:52 UTC
If you run
spamassassin --lint -D |& grep -o 'parsing file.*$' | sort | uniq -u 
you can see just how many configuration files (which include rules) there are and how impractical it would be to output all of them instead of looking at the config files you are really interested in.
Closing as old issue, not a bug, better as a question for the users mailing list.