# Install davmail with Homebrew, apk, apt, Nix, winget

POP/IMAP/SMTP/Caldav/Carddav/LDAP exchange gateway. Version 6.8.1 via Homebrew; verified 2026-06-30.

## Install

```sh
sudo av install brew:davmail
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install davmail
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add davmail
```

  Evidence: Alpine Linux edge package indexes: davmail from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install davmail
```

  Evidence: Debian stable package indexes: davmail from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#davmail
```

  Evidence: nixpkgs package indexes: pkgs/by-name/da/davmail/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- winget (92%):

```sh
winget install --id mguessan.davmail -e
```

  Evidence: Windows Package Manager source index: mguessan.davmail from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:davmail
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/davmail>
- **Version:** 6.8.1
- **Source summary:** POP/IMAP/SMTP/Caldav/Carddav/LDAP exchange gateway
- **Homepage:** <https://davmail.sourceforge.net/>
- **Repository:** <https://github.com/mguessan/davmail>
- **Upstream docs:** <https://davmail.sourceforge.net/>
- **License:** GPL-2.0-or-later
- **Source archive:** <https://downloads.sourceforge.net/project/davmail/davmail/6.8.1/davmail-6.8.1-4210.zip>
- **Last updated:** 2026-06-30T20:38:18Z
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- davmail (cli)
- davmail (alias)

## Dependencies

- openjdk

## Install behavior

- Post-install hook: not defined
- Service: declared
- Bottle: available on all

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 6.8.1
- Package-manager updated: 2026-06-30
- Local data: ok
- Upstream repository: https://davmail.sourceforge.net/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

DavMail is a desktop and server gateway that lets standard POP, IMAP, SMTP, CalDAV, CardDAV, and LDAP clients talk to Microsoft Exchange and Office 365. Its package-manager appeal is practical: it turns a vendor-specific groupware account into ordinary local network services that Unix mail, calendar, and address-book tools already understand.

### Project history

The project dates back to the SourceForge era, with the official GitHub mirror carrying an initial SourceForge import tag from December 2006. The README says the main project site remains on SourceForge and that the GitHub repository is synchronized from the main Subversion repository to make contributions easier for GitHub users.

### Adoption history

DavMail has stayed useful because Exchange and Office 365 deployments often outlive the mail clients or workflows developers prefer. The upstream README documents several distribution channels, including SourceForge downloads, Linux packages, Flatpak, Docker images, and Windows and macOS builds, which reflects a project used across workstation and service-style setups rather than a single platform niche.

### How it is used

Users run DavMail as a local desktop gateway or as a standalone server. The server setup guide describes preparing a davmail.properties file and running a shared gateway for clients that speak POP, IMAP, SMTP, LDAP, CalDAV, or CardDAV while DavMail handles Exchange Web Services or Microsoft Graph on the other side.

### Why package nerds care

For package maintainers, DavMail is interesting because it packages a compatibility layer rather than a single client: Java, OAuth and Exchange protocol behavior, daemon-style server mode, and desktop integration all meet in one tool. It is the kind of package that keeps old but reliable Unix mail workflows viable in corporate Microsoft environments.

### Timeline

- 2006: Official GitHub mirror records the initial SourceForge project import tag.
- 2018: The synchronized GitHub mirror was created for easier GitHub-based contribution.
- 2026: Upstream documentation lists DavMail 6.8.0 and current server setup instructions.

### Related projects

- DavMail sits beside mail clients, calendar clients, and address-book clients rather than replacing them, acting as an Exchange and Office 365 bridge for tools that already support open protocols.

### Sources

- <https://github.com/mguessan/davmail>
- <https://api.github.com/repos/mguessan/davmail/git/tags/1d806ba25d3c2107344ba900ddb841d9b290f889>
- <https://davmail.sourceforge.net/serversetup.html>
- <https://davmail.sourceforge.net/faq.html>


## Security Notes

formula declares a Homebrew service.

- **Geiger risk:** orange / medium
- formula declares a Homebrew service


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.davmail.properties, davmail.properties
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** davmail
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Debian apt - davmail - 6.3.0.3627-1: normalized package name match | Debian stable package indexes: davmail from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | POP/IMAP/SMTP/CalDav/LDAP to Microsoft Exchange gateway - GUI | https://davmail.sourceforge.net/
- Debian apt - davmail-server - 6.3.0.3627-1: normalized package name match | Debian stable package indexes: davmail-server from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | POP/IMAP/SMTP/CalDav/LDAP to Microsoft Exchange gateway - headless | https://davmail.sourceforge.net/
- Nix - davmail: normalized package name match | nixpkgs package indexes: pkgs/by-name/da/davmail/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - davmail - 6.2.1.3496-1: normalized package name match | Ubuntu 24.04 LTS package indexes: davmail from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | POP/IMAP/SMTP/CalDav/LDAP to Microsoft Exchange gateway - GUI | https://davmail.sourceforge.net/
- Ubuntu apt - davmail-server - 6.2.1.3496-1: normalized package name match | Ubuntu 24.04 LTS package indexes: davmail-server from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | POP/IMAP/SMTP/CalDav/LDAP to Microsoft Exchange gateway - headless | https://davmail.sourceforge.net/
- apk - davmail - 6.6.0-r0: normalized package name match | Alpine Linux edge package indexes: davmail from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | DavMail POP/IMAP/SMTP/Caldav/Carddav/LDAP Exchange and Office 365 Gateway | https://davmail.sourceforge.net
- winget - mguessan.davmail: normalized package name match | Windows Package Manager source index: mguessan.davmail from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Productivity CLI packages](https://www.automicvault.com/pkg/productivity-cli-packages/) - Matched curated productivity category metadata from av.db.
- [openjdk](https://www.automicvault.com/pkg/brew/openjdk/) - Runtime dependency declared by Homebrew.
- [mox](https://www.automicvault.com/pkg/brew/mox/) - Shares av.db curated category or tags: cli, imap, networking, smtp.
- [bitlbee](https://www.automicvault.com/pkg/brew/bitlbee/) - Shares av.db curated category or tags: cli, gateway, networking.
- [dovecot](https://www.automicvault.com/pkg/brew/dovecot/) - Shares av.db curated category or tags: cli, imap, mail, networking.
- [exim](https://www.automicvault.com/pkg/brew/exim/) - Shares av.db curated category or tags: cli, mail, networking, smtp.
- [fetchmail](https://www.automicvault.com/pkg/brew/fetchmail/) - Shares av.db curated category or tags: cli, imap, networking.
- [gateway-go](https://www.automicvault.com/pkg/brew/gateway-go/) - Shares av.db curated category or tags: cli, gateway, networking.
- [getmail6](https://www.automicvault.com/pkg/brew/getmail6/) - Shares av.db curated category or tags: cli, imap, networking.
- [haraka](https://www.automicvault.com/pkg/brew/haraka/) - Shares av.db curated category or tags: cli, networking, smtp.

## Combined YAML source

View the package source record on GitHub. [combined/davmail.yml](https://github.com/automic-vault/db/blob/main/combined/davmail.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
