DavMail Setup on linux

Standalone setup

Prerequisite: Latest OpenJDK with OpenJFX support for best O365 support. Download of latest Azul FX now included in latest davmail script. If SWT is available it provides an improved tray icon (incompatible with O365Interactive mode). If you do not want any tray icon run DavMail with the -notray option.

Download the the platform independent package from Sourceforge and uncompress it with your favorite tool. If you want improved SWT tray icon add the appropriate SWT library in lib folder from http://www.eclipse.org/swt/, e.g. swt-4.9-gtk-linux-x86_64.jar

unzip davmail-version.zip

Run ./davmail azul once to fetch latest Azul JRE FX.

Just run ./davmail to launch DavMail. You should now see the DavMail gateway icon in the tray :

Debian package

This page describes DavMail setup as a graphical application, if you don't want or need a user interface you can run DavMail in server mode

Download current debian package from Sourceforge, double click on it to launch package installer.

Select Install Package, installer will automatically download and install Java and the appropriate SWT package. After installation, DavMail is available in the Applications menu.

In order to run DavMail with systray on Ubuntu 18, you need:

  • Top icons and appindicator:sudo apt-get install gnome-shell-extension-top-icons gnome-shell-extension-appindicator gnome-tweak-tool
  • Enable both in Tweaks
  • Then run DavMail: XDG_CURRENT_DESKTOP= && davmail

Update for Ubuntu Unity users, you can install Indicator SystemtrayUnity: http://www.webupd8.org/2015/05/on-demand-system-tray-for-ubuntu.html

Note to Ubuntu 14 users, you can restore systray by following instructions at: How to whitelist all systray apps in Ubuntu 14.04 or 14.10 (with Unity)

Note to Ubuntu 13 users, you will need to apply the following patch to fix missing whitelist regression: Unity Desktop with Systray Whitelisting Support

Note to Ubuntu 12 Natty users: they eventually fixed Oneiric issue, use gsettings command below

Note to Ubuntu 11.10 Oneiric users: Unity does not support system tray defined by FreeDesktop, you will need to switch to standard Gnome Panel to use DavMail (and any other application using system tray)

Note to Ubuntu 10.04 users: all tray icons are hidden by default, use the following command to restore normal mode:

gsettings set com.canonical.Unity.Panel systray-whitelist "['all']"

If it still does not work, launch DavMail with notray option:

davmail -notray

Fedora

Latest released package is available on build.opensuse.org and Fedora COPR

On Fedora or Centos, enable COPR repository and install DavMail package: dnf copr enable mguessan/davmail dnf install davmail

Settings

Adjust DavMail settings : Getting started