sensible-mda command not found

In this troubleshooting guide we learn how to fix sensible-mda command not found error message

Introduction

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

sensible-mda: command not found

or when using sudo you get the following error message

sudo: sensible-mda: command not found

Solutions to sensible-mda: command not found

How To Fix sensible-mda: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu sensible-mda is provided by sensible-mda package.

sensible-mda is:

Sensible-mda is a Debian addition in the sendmail package and has been split out in hopes that it might be useful for other MTA packages.

Sensible-mda is called by the MTA, and will in turn call whichever of the following MDAs that it finds (in this order): procmail, maildrop, deliver, mail.local

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

sudo apt-get -y install sensible-mda

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

You can also use apt command to install sensible-mda.

sudo apt -y install sensible-mda

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

sudo aptitude install sensible-mda

Summary

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