sa-check_spamd command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
sa-check_spamd: command not found
or when using sudo you get the following error message
sudo: sa-check_spamd: command not found
Solutions to sa-check_spamd: command not found
How To Fix sa-check_spamd: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu sa-check_spamd is provided by spamassassin package.
spamassassin is:
SpamAssassin is a very powerful and fully configurable spam filter with numerous features including automatic white-listing, RBL testing, Bayesian analysis, header and body text analysis. It is designed to be called from a user’s .procmail or .forward file, but can also be integrated into a Mail Transport Agent (MTA).
Included in this package is a daemonized form of spamassassin (spamd) which communicates with its client (spamc) via TCP, to reduce the overhead of loading perl with each message. To take advantage of this, you must install the spamc package.
To fix this problem, we can install more using the command below.
sudo apt-get -y install spamassassin
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install spamassassin.
sudo apt -y install spamassassin
Or if you have aptitude installed you can use the following command.
sudo aptitude install spamassassin
Summary
In this tutorial we learn how to fix sa-check_spamd command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.