https://github.com/ogarcia/docker-davmail
[MIRROR] Small docker of DavMail based on Alpine Linux
https://github.com/ogarcia/docker-davmail
davmail docker docker-image owa
Last synced: 5 months ago
JSON representation
[MIRROR] Small docker of DavMail based on Alpine Linux
- Host: GitHub
- URL: https://github.com/ogarcia/docker-davmail
- Owner: ogarcia
- License: gpl-3.0
- Created: 2018-10-25T16:25:35.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-12-18T07:39:14.000Z (6 months ago)
- Last Synced: 2026-01-17T17:31:33.969Z (5 months ago)
- Topics: davmail, docker, docker-image, owa
- Language: Dockerfile
- Homepage: https://gitlab.com/connectical/container/davmail
- Size: 58.6 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DavMail container
[](https://forthebadge.com)
[](https://forthebadge.com)
[](https://forthebadge.com)
(c) 2018-2025 [Connectical] Óscar García Amor
Redistribution, modifications and pull requests are welcomed under the terms
of GPLv3 license.
[DavMail][dm] is a POP/IMAP/SMTP/Caldav/Carddav/LDAP exchange gateway
allowing users to use any mail/calendar client with an Exchange server, even
from the internet or behind a firewall through Outlook Web Access.
This container packages **DavMail** under [Alpine Linux][al], a lightweight
Linux distribution.
Visit [Quay][qu] or [GitLab][gl] to see all available tags.
[dm]: http://davmail.sourceforge.net/
[al]: https://alpinelinux.org/
[qu]: https://quay.io/repository/connectical/davmail
[gl]: https://gitlab.com/connectical/container/davmail/container_registry
## Run
To run this container, simply exec.
```sh
alias docker="podman" # If you are using podman
docker run -d \
--name=davmail \
-p 1025:1025 \
-p 1389:1389 \
-p 1110:1110 \
-p 1143:1143 \
-p 1080:1080 \
registry.gitlab.com/connectical/container/davmail
```
Default config points to [Office 365 EWS][o365].
[o365]: https://outlook.office365.com/EWS/Exchange.asmx
## Volumes
If you want reconfigure DavMail with your own `davmail.properties` you can
mount it as a volume.
```sh
alias docker="podman" # If you are using podman
docker run -d \
--name=davmail \
-v /my/own/davmail.properties:/etc/davmail/davmail.properties \
registry.gitlab.com/connectical/container/davmail
```
In the same way you can configure a volume to persistent store the logs.
```sh
alias docker="podman" # If you are using podman
docker run -d \
--name=davmail \
-v /my/own/davmail/logdir:/var/log/davmail
registry.gitlab.com/connectical/container/davmail
```
Take note that DavMail is running by `davmail` user (*UID 100*) inside
container. You must set proper permissions in your external volume to allow
to this user to write on it.
## Shell run
If you can run a shell instead DavMail, simply do.
```sh
alias docker="podman" # If you are using podman
docker run -t -i --rm \
--name=davmail \
--user=root \
--entrypoint=/bin/sh \
registry.gitlab.com/connectical/container/davmail
```
Please note that the `--rm` modifier destroy the container after shell exit.