Nothing Special   »   [go: up one dir, main page]

Skip to content

ogarcia/docker-davmail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DavMail container

forthebadge forthebadge forthebadge

(c) 2018-2024 Ó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.

Run

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/davmail

Default config points to Office 365 EWS.

Volumes

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/davmail

In 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/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.

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.