dot-forward command not found

In this troubleshooting guide we learn how to fix dot-forward command not found error message

Introduction

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

dot-forward: command not found

or when using sudo you get the following error message

sudo: dot-forward: command not found

Solutions to dot-forward: command not found

How To Fix dot-forward: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu dot-forward is provided by dot-forward package.

dot-forward is:

It runs in the qmail startup script to support all your existing .forward files automatically. Individual users can switch to the .qmail mechanism at their leisure.

dot-forward supports forwarding, program deliveries, and comments. It does not support file deliveries or :include: (However, it recognizes file delivery attempts, and defers delivery to give you a chance to set up a .qmail file).

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

sudo apt-get -y install dot-forward

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

You can also use apt command to install dot-forward.

sudo apt -y install dot-forward

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

sudo aptitude install dot-forward

Summary

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