mysqmail-postfix-logger command not found

In this troubleshooting guide we learn how to fix mysqmail-postfix-logger command not found error message

Introduction

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

mysqmail-postfix-logger: command not found

or when using sudo you get the following error message

sudo: mysqmail-postfix-logger: command not found

Solutions to mysqmail-postfix-logger: command not found

How To Fix mysqmail-postfix-logger: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu mysqmail-postfix-logger is provided by mysqmail-postfix-logger package.

mysqmail-postfix-logger is:

MySQMail is a set of tiny daemon loggers for mail and FTP servers that save traffic information in a MySQL database. The information is split by domain and by user so that it’s easy to measure all the traffic for a given domain name in real time.

This package provides a logger for SMTP traffic handled by Postfix.

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

sudo apt-get -y install mysqmail-postfix-logger

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

You can also use apt command to install mysqmail-postfix-logger.

sudo apt -y install mysqmail-postfix-logger

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

sudo aptitude install mysqmail-postfix-logger

Summary

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