davmail command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
davmail: command not found
or when using sudo you get the following error message
sudo: davmail: command not found
Solutions to davmail: command not found
How To Fix davmail: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu davmail is provided by davmail package.
davmail is:
Ever wanted to get rid of Outlook ? DavMail is a POP/IMAP/SMTP/Caldav/Carddav/LDAP exchange gateway allowing users to use any mail/calendar client (e.g. Thunderbird with Lightning or Apple iCal) with an Exchange server, even from the internet or behind a firewall through Outlook Web Access. DavMail now includes an LDAP gateway to Exchange global address book and user personal contacts to allow recipient address completion in mail compose window and full calendar support with attendees free/busy display.
The main goal of DavMail is to provide standard compliant protocols in front of proprietary Exchange. This means LDAP for global address book, SMTP to send messages, IMAP to browse messages on the server in any folder, POP to retrieve inbox messages only, Caldav for calendar support and Carddav for personal contacts sync. Thus any standard compliant client can be used with Microsoft Exchange.
DavMail gateway is implemented in java and should run on any platform. Releases are tested on Windows, Linux (Ubuntu) and Mac OSX. Tested successfully with the Iphone (gateway running on a server).
To fix this problem, we can install more using the command below.
sudo apt-get -y install davmail
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install davmail.
sudo apt -y install davmail
Or if you have aptitude installed you can use the following command.
sudo aptitude install davmail
Summary
In this tutorial we learn how to fix davmail command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.