smtpprox command not found

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

Introduction

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

smtpprox: command not found

or when using sudo you get the following error message

sudo: smtpprox: command not found

Solutions to smtpprox: command not found

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

In Ubuntu smtpprox is provided by smtpprox package.

smtpprox is:

smtpprox is a trivial transparent SMTP proxy, an SMTP server and client combination.

The SMTP server writes the incoming message to a temporary file, which the SMTP client reads as the message to send. SMTP commands and replies are relayed without change for the most part.

For efficiency reasons, it pre-forks and serves from a pool of servers, Apache-style.

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

sudo apt-get -y install smtpprox

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

You can also use apt command to install smtpprox.

sudo apt -y install smtpprox

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

sudo aptitude install smtpprox

Summary

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