spamassassin --lint

Category: Mail Servers & Postfix

spamassassin --lint

Check SpamAssassin rules and config for errors

Parses every rule and configuration file, reporting syntax errors, bad regexes, and unknown options. Exits zero when clean. Run it after editing local.cf or installing a new ruleset, before reloading the service.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.