sa-learn --clear

Category: Mail Servers & Postfix

sa-learn --clear

Wipe the entire Bayes database

Destroys all learned tokens and statistics, forcing the classifier to start from zero. Destructive and irreversible, so back up first with `sa-learn --backup`. Only reach for it when the database is corrupt or the corpus was garbage.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.