nmzmail command not found

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

Introduction

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

nmzmail: command not found

or when using sudo you get the following error message

sudo: nmzmail: command not found

Solutions to nmzmail: command not found

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

In Ubuntu nmzmail is provided by nmzmail package.

nmzmail is:

nmzmail is a tool, primarily to be used with mutt, for indexing and searching maildir folders. Based on the result of a search query using the search engine namazu2, nmzmail generates a maildir folder containing symbolic links to the mail(s) matching the query. A simple mutt macro makes it easy to use nmzmail from within mutt. nmzmail is similar to mairix (another email index/search program), but perhaps easier to use since it uses the query syntax of namazu2.

Features:

  • fast mail searching even with large quantities of mail
  • incremental index building
  • integrates very nicely into mutt
  • rich, but simple, query language including regex
  • query history

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

sudo apt-get -y install nmzmail

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

You can also use apt command to install nmzmail.

sudo apt -y install nmzmail

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

sudo aptitude install nmzmail

Summary

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