mimefilter command not found

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

Introduction

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

mimefilter: command not found

or when using sudo you get the following error message

sudo: mimefilter: command not found

Solutions to mimefilter: command not found

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

In Ubuntu mimefilter is provided by mimefilter package.

mimefilter is:

This program may be useful as a filter on a mailing list.

It strips every unwanted MIME part from a MIME compliant message, warning by email the original author about this, and outputs a MIME compliant cleaned message, to be further processed by a mailing list software.

You may find it useful if you don’t want certain attachments on your mailing lists, or if you want to allow just the text part from multipart/alternative messages, and so on. You can easily fine tune the list of allowed MIME types to suit your particular needs, using normal Perl regexps.

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

sudo apt-get -y install mimefilter

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

You can also use apt command to install mimefilter.

sudo apt -y install mimefilter

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

sudo aptitude install mimefilter

Summary

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