cvm-vmailmgr-local command not found

In this troubleshooting guide we learn how to fix cvm-vmailmgr-local command not found error message

Introduction

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

cvm-vmailmgr-local: command not found

or when using sudo you get the following error message

sudo: cvm-vmailmgr-local: command not found

Solutions to cvm-vmailmgr-local: command not found

How To Fix cvm-vmailmgr-local: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu cvm-vmailmgr-local is provided by cvm package.

cvm is:

CVM is a framework for validating a set of credentials against a database using a filter program. The modules act as a filter, taking a set of credentials as input and writing a set of facts as output if those credentials are valid. Optional input is given to the module through environment variables.

Some of the ideas for CVM came from experience with PAM (pluggable authentication modules), the checkpassword interface used by qmail-pop3d, and the “authmod” interface used by Courier IMAP and POP3. This framework places fewer restrictions on the invoking client than checkpassword does, and is much simpler to implement on both sides than PAM and the authmod framework.

This package includes cvm binaries.

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

sudo apt-get -y install cvm

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

You can also use apt command to install cvm.

sudo apt -y install cvm

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

sudo aptitude install cvm

Summary

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