doveadm command not found

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

Introduction

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

doveadm: command not found

or when using sudo you get the following error message

sudo: doveadm: command not found

Solutions to doveadm: command not found

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

In Ubuntu doveadm is provided by dovecot-core package.

dovecot-core is:

Dovecot is a mail server whose major goals are security and extreme reliability. It tries very hard to handle all error conditions and verify that all data is valid, making it nearly impossible to crash. It supports mbox/Maildir and its own dbox/mdbox formats, and should also be pretty fast, extensible, and portable.

This package contains the Dovecot main server and its command line utility.

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

sudo apt-get -y install dovecot-core

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

You can also use apt command to install dovecot-core.

sudo apt -y install dovecot-core

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

sudo aptitude install dovecot-core

Summary

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