DavMail
DavMail POP/IMAP/SMTP/CalDAV/CardDAV/LDAP Exchange and Office 365 Gateway - Synced with main subversion repository at
Platform availability
Available on 2 of 10 platforms
- Unraid (not listed)
- TrueNAS (not listed)
- Umbrel (not listed)
- ZimaOS (not listed)
- Proxmox (not listed)
- Helm (not listed)
- Mac (not listed)
- Windows (not listed)
- Linux
- Any server
Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.
77/100 Good
- Maintained
- 100last commit 10 days ago
- Popular
- 58779 GitHub stars
- Easy to install
- 352 install platforms, install notes
- Light to run
- No data
- Security check
- 95no serious findings, CI, tests
Based on 4 of 5 factors.
Availability: platform listings confirmed today
- GitHub stars
- 779
- Open issues
- 62
- Last commit
- 2026-11-23
- License
- GPL-2.0
- Activity
- declining
Checked 6 days ago - source: GitHub (mguessan/davmail)
Resources & Compatibility
Requirements not published yet.
Checked 6 days ago - source: Docker Hub image tags and published docs
First-install notes
- Set your port numbers before first launch DavMail only starts a service (IMAP, SMTP, POP, CalDAV, LDAP) if its port setting in davmail.properties is set to a non-zero number; leaving a port at 0 silently skips that service. Also note port 389 (the default LDAP port) and other ports under 1024 usually need admin/root privileges, and if another app already uses a port, DavMail will fail to bind and (with exitOnBindFailed enabled) quit on st source
- Point DavMail at its settings file DavMail reads all its configuration from a file called davmail.properties (e.g. at /etc/davmail/davmail.properties). This file must exist before the app loads, and it holds your email server mode (like davmail.mode, e.g. O365 for Office 365) and other key settings, so keep a backup of it — losing it means re-doing your whole setup. source
- Use DOMAIN\username for Exchange logins When you sign in with your email account credentials, you can use the traditional 'DOMAIN\\user' format and DavMail handles it automatically with the right authentication. Getting the username format wrong is a common cause of login failures on first run. source
Fetched 6 days ago - each note links to its source
Variants
Alternatives (8)
- AppImageLauncher
- Email OAuth 2.0 Proxy
- ExQuilla
- GreenMail
- Imapforward
- Imapsize
- Offlineimap3
- Thunderbird-AppImage
Checked 6 days ago - source: AlternativeTo
Common questions
Why does DavMail not start some services like IMAP or LDAP?
DavMail only starts a service if its port setting in davmail.properties is non-zero; leaving a port at 0 silently skips that service. Ports under 1024 (like default LDAP port 389) need admin privileges, and if another app already holds the port, DavMail will fail to bind and can quit on startup.
How do I configure DavMail to connect to Office 365 with modern authentication?
You set the client ID and tenant ID in davmail.properties and set the server mode (davmail.mode) to O365. Confusion about where the client secret and IDs go in the properties file is a common stumbling block.
What username format should I use to log in to Exchange through DavMail?
Use the traditional DOMAIN\user format for Exchange logins; DavMail handles the authentication automatically. Getting the username format wrong is a common cause of login failures on first run.
Do I need to back up anything besides my mail data?
Back up your davmail.properties file (e.g. at /etc/davmail/davmail.properties). It must exist before DavMail loads and holds all key settings including your server mode, so losing it means re-doing your whole setup.
Why does Thunderbird endlessly redownload messages through DavMail?
It's mostly a Thunderbird behavior that DavMail exacerbates rather than a DavMail bug. A workaround is to adjust the affected account's settings in Thunderbird's Account Settings for each problematic mailbox.
Answers sourced from askubuntu.com, github.com, github.com, github.com, stackoverflow.com
Community
- DavMail Pop/IMAP/SMTP/Caldav/Carddav/LDAP Exchange Gateway (forum)
- POP/IMAP/SMTP/Caldav/Carddav/LDAP Exchange Gateway (forum)
- Is anyone here using DavMail with Office 365 and MFA? - Reddit (reddit)
- Kontact & Davmail woes : r/kde - Reddit (reddit)
- A minimal guide to sending emails through Office 365 with ... - Reddit (reddit)
- Davmail / First post in reddit :) : r/LinuxActionShow (reddit)
Collected 6 days ago - public community threads