(c) 2018-2025 [Connectical] Óscar García Amor
Redistribution, modifications and pull requests are welcomed under the terms of GPLv3 license.
DavMail 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, a lightweight Linux distribution.
Visit Quay or GitLab to see all available tags.
To run this container, simply exec.
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/davmailDefault config points to Office 365 EWS.
If you want reconfigure DavMail with your own davmail.properties you can
mount it as a volume.
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/davmailIn the same way you can configure a volume to persistent store the logs.
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/davmailTake 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.
If you can run a shell instead DavMail, simply do.
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/davmailPlease note that the --rm modifier destroy the container after shell exit.