Bug 6785

Summary: Add option to display current config values of SA
Product: Spamassassin Reporter: Nelson A. de Oliveira <naoliv>
Component: spamassassinAssignee: SpamAssassin Developer Mailing List <dev>
Status: RESOLVED WONTFIX    
Severity: minor CC: sidney
Priority: P2    
Version: 3.3.1   
Target Milestone: Undefined   
Hardware: PC   
OS: Linux   
Whiteboard:

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.