sa-heatu command not found

In this troubleshooting guide we learn how to fix sa-heatu command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

sa-heatu: command not found

or when using sudo you get the following error message

sudo: sa-heatu: command not found

Solutions to sa-heatu: command not found

How To Fix sa-heatu: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu sa-heatu is provided by spamassassin-heatu package.

spamassassin-heatu is:

Check or clean the SpamAssassin auto-whitelist (AWL) database file; also called the SpamAssassin Heuristic Email Address Tracker file.

The Auto-WhiteList feature in Spamassassing tracks scores from messages previously received and adjusts the message score, either by boosting messages from senders who send ham or penalizing senders who have sent spam previously. This not only treats some senders as if they were white listed but also treats spammers as if they were blacklisted.

This and enhanced version of the original AWL tool. The AWL database can be examined and pruned; single email entries can be removed. This is useful when a spammer sends one or more ham messages before sending spam.

To fix this problem, we can install more using the command below.

sudo apt-get -y install spamassassin-heatu

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install spamassassin-heatu.

sudo apt -y install spamassassin-heatu

Or if you have aptitude installed you can use the following command.

sudo aptitude install spamassassin-heatu

Summary

In this tutorial we learn how to fix sa-heatu command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.