mairix command not found

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

Introduction

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

mairix: command not found

or when using sudo you get the following error message

sudo: mairix: command not found

Solutions to mairix: command not found

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

In Ubuntu mairix is provided by mairix package.

mairix is:

mairix is a program for indexing and searching email messages stored offline on your computer. mairix supports the Maildir, MH folders, and mbox formats.

Some features:

  • Indexing is fast. It runs incrementally on new messages - any particular message only gets scanned once in the lifetime of the index file.

  • Searching is fast.

  • The search mode populates a “virtual” maildir folder with symlinks which point to the real messages. This folder can be opened as usual in your mail program.

  • Indexing and searching is based on words. The index file tabulates which words occur in which parts (particular headers + body) of which messages.

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

sudo apt-get -y install mairix

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

You can also use apt command to install mairix.

sudo apt -y install mairix

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

sudo aptitude install mairix

Summary

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