amavisd-signer command not found

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

Introduction

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

amavisd-signer: command not found

or when using sudo you get the following error message

sudo: amavisd-signer: command not found

Solutions to amavisd-signer: command not found

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

In Ubuntu amavisd-signer is provided by amavisd-new package.

amavisd-new is:

AMaViSd-new is a script that interfaces a mail transport agent (MTA) with zero or more virus scanners, and spamassassin (optional).

It supports all common virus scanners (more than 20 different AVs), with direct talk-to-daemon support for ClamAV, OpenAntiVirus, Trophie, AVG, f-prot, and Sophos AVs.

AMaViSd-new supports all MTAs through its generic SMTP/LMTP filter mode (ideal for postfix and exim). It is faster and safer to use the SMTP/LMTP filter mode than using the AMaViS pipe client. It supports sendmail milter through the amavisd-new-milter package.

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

sudo apt-get -y install amavisd-new

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

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

sudo apt -y install amavisd-new

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

sudo aptitude install amavisd-new

Summary

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