mtasim command not found

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

Introduction

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

mtasim: command not found

or when using sudo you get the following error message

sudo: mtasim: command not found

Solutions to mtasim: command not found

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

In Ubuntu mtasim is provided by mailfromd package.

mailfromd is:

Mailfromd is a general-purpose mail filtering daemon for Sendmail, Postfix and MeTA1. It is able to filter both incoming and outgoing messages using criteria of arbitrary complexity, supplied by the administrator in the form of a script file. The daemon interfaces with the MTA using Milter or PMilter protocols.

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

sudo apt-get -y install mailfromd

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

You can also use apt command to install mailfromd.

sudo apt -y install mailfromd

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

sudo aptitude install mailfromd

Summary

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