amavisd-milter command not found

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

Introduction

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

amavisd-milter: command not found

or when using sudo you get the following error message

sudo: amavisd-milter: command not found

Solutions to amavisd-milter: command not found

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

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

amavisd-milter is:

This package provides a milter for amavisd-new that works with Sendmail or Postfix, using the AM.PDP protocol.

Replacing the older amavisd-new-milter program, amavisd-milter makes use of the full functionality of amavisd-new. It supports using spam and virus information header fields, rewriting message subjects, adding address extensions, and selectively removing recipients.

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

sudo apt-get -y install amavisd-milter

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

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

sudo apt -y install amavisd-milter

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

sudo aptitude install amavisd-milter

Summary

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