mda-lmtp command not found

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

Introduction

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

mda-lmtp: command not found

or when using sudo you get the following error message

sudo: mda-lmtp: command not found

Solutions to mda-lmtp: command not found

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

In Ubuntu mda-lmtp is provided by chasquid package.

chasquid is:

chasquid is an SMTP (email) server with a focus on simplicity, security, and ease of operation.

It’s written in Go, and is open source under the Apache license 2.0.

It is currently in beta: it’s functional and has had some production exposure, but some things may still change in backwards-incompatible ways, including the configuration format. It should be rare and will be avoided if possible.

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

sudo apt-get -y install chasquid

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

You can also use apt command to install chasquid.

sudo apt -y install chasquid

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

sudo aptitude install chasquid

Summary

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