imapfilter command not found

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

Introduction

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

imapfilter: command not found

or when using sudo you get the following error message

sudo: imapfilter: command not found

Solutions to imapfilter: command not found

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

In Ubuntu imapfilter is provided by imapfilter package.

imapfilter is:

Imapfilter is a client application that allows you to filter mail in your imap mail account. When used in conjunction with mutt, as your precommand, it allows you to have your mail sorted into imap folders.

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

sudo apt-get -y install imapfilter

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

You can also use apt command to install imapfilter.

sudo apt -y install imapfilter

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

sudo aptitude install imapfilter

Summary

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