makemap command not found

In this troubleshooting guide we learn how to fix makemap command not found error message

Introduction

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

makemap: command not found

or when using sudo you get the following error message

sudo: makemap: command not found

Solutions to makemap: command not found

How To Fix makemap: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu makemap is provided by opensmtpd package.

opensmtpd is:

The OpenSMTPD server seeks to be

  • as secure as possible, and uses privilege separation to mitigate possible security bugs
  • as reliable as possible: any accepted email must not be lost
  • lean: it covers typical usage cases instead of every obscure one
  • easy to configure, with a configuration syntax reminiscent of the OpenBSD Packet Filter’s (PF)
  • fast and efficient: it can handle large queues with reasonable performance

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

sudo apt-get -y install opensmtpd

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

You can also use apt command to install opensmtpd.

sudo apt -y install opensmtpd

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

sudo aptitude install opensmtpd

Summary

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