proxsmtpd command not found

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

Introduction

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

proxsmtpd: command not found

or when using sudo you get the following error message

sudo: proxsmtpd: command not found

Solutions to proxsmtpd: command not found

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

In Ubuntu proxsmtpd is provided by proxsmtp package.

proxsmtp is:

ProxSMTP is a flexible tool that allows you to reject, change or log email based on arbitrary critera. It accepts SMTP connections and forwards the SMTP commands and responses to another SMTP server. The ‘DATA’ email body is intercepted and filtered before forwarding.

You need to be able to write the filtering scripts that integrate it with your particular needs. If you’re looking for something that does virus filtering, take a look at ClamSMTP which behaves similarly and uses a similar code base.

You do not need a local mail-transport-agent installed, since this server can forward to a remote one.

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

sudo apt-get -y install proxsmtp

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

You can also use apt command to install proxsmtp.

sudo apt -y install proxsmtp

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

sudo aptitude install proxsmtp

Summary

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