spampd command not found

In this troubleshooting guide we learn how to fix spampd command not found error message

Introduction

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

spampd: command not found

or when using sudo you get the following error message

sudo: spampd: command not found

Solutions to spampd: command not found

How To Fix spampd: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu spampd is provided by spampd package.

spampd is:

spampd is an SMTP/LMTP server designed to be hooked into the MTA processing chain (e.g. as a content filter). It is written in Perl and uses the Net::Server framework. It is intended to provide spam filtering at the system level (i.e. ususally for all users). If you rely on per-user configuration or per-user Bayes databases, spampd is not for you.

The major advantage of spampd over plain SpamAssassin (both directly and through spamd) is that it doesn’t need to load all needed perl modules on every invocation or spawn a C programme for every mail it receives. Compared to using spamc/spamd, spampd can usually provide a 25% performance increase with local-only tests.

The advantage of spampd over amavisd-new is that it uses the original SpamAssassin header tags, which are more verbose than the tags which amavisd-new provides. This allows easier filtering in the mail client and easier tuning of SpamAssassin.

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

sudo apt-get -y install spampd

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

You can also use apt command to install spampd.

sudo apt -y install spampd

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

sudo aptitude install spampd

Summary

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