sendmailconfig command not found

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

Introduction

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

sendmailconfig: command not found

or when using sudo you get the following error message

sudo: sendmailconfig: command not found

Solutions to sendmailconfig: command not found

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

In Ubuntu sendmailconfig is provided by sendmail-base package.

sendmail-base is:

Sendmail is an alternative Mail Transport Agent (MTA) for Debian. It is suitable for handling sophisticated mail configurations, although this means that its configuration can also be complex.

This package contains the base, architecture independent, portions of the sendmail packages.

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

sudo apt-get -y install sendmail-base

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

You can also use apt command to install sendmail-base.

sudo apt -y install sendmail-base

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

sudo aptitude install sendmail-base

Summary

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