spamass-milter command not found

In this troubleshooting guide we learn how to fix spamass-milter command not found error message

Introduction

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

spamass-milter: command not found

or when using sudo you get the following error message

sudo: spamass-milter: command not found

Solutions to spamass-milter: command not found

How To Fix spamass-milter: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu spamass-milter is provided by spamass-milter package.

spamass-milter is:

A milter used to filter mail through spamassassin (spamc) early in the delivery process. Enables site wide filtering through spamassassin without speed penalties incured by setting up and tearing down procmail processes for each e-mail.

Will work with sendmail, postfix, or any other MTA which can use milters.

  • Administrator (or user) specified rejection threshold
  • User specific spamassassin settings
  • Header-only modification

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

sudo apt-get -y install spamass-milter

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

You can also use apt command to install spamass-milter.

sudo apt -y install spamass-milter

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

sudo aptitude install spamass-milter

Summary

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