### Train SpamAssassin with sa-learn Source: https://spamassassin.apache.org/doc.html/repos/asf/spamassassin/trunk/README Demonstrates how to train Apache SpamAssassin using the 'sa-learn' tool for both spam and non-spam (ham) emails. It shows examples for different mailbox formats like mbox and Maildir. This process helps improve the accuracy of spam detection. ```bash sa-learn --spam ~/Mail/saved-spam-folder sa-learn --ham ~/Mail/inbox sa-learn --ham ~/Mail/other-nonspam-folder ``` -------------------------------- ### Enable Disabled Tests in SpamAssassin Source: https://spamassassin.apache.org/doc.html/repos/asf/spamassassin/trunk/README Explains how to enable tests that are disabled by default in Apache SpamAssassin. This involves either assigning a non-zero score in the user_prefs file for tests disabled in 50_scores.cf, or uncommenting 'loadplugin' lines in init.pre for tests disabled by commenting out plugins. ```bash # Add score lines to your ~/.spamassassin/user_prefs file # Example: score SUBJ_TEST 1.0 # Uncomment loadplugin lines in init.pre # Example: loadplugin Mail::SpamAssassin::Plugin::DCC ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.