/docker-davmail

Dockerfile for DavMail POP/IMAP/SMTP/Caldav/Carddav/LDAP Exchange Gateway

Primary LanguageShellGNU General Public License v2.0GPL-2.0

DavMail POP/IMAP/SMTP/Caldav/Carddav/LDAP Exchange Gateway

What is it?

Это форк под своти нужды. Немного не устраевает то что сделано по умолчанию.

This dockerised version makes building, installing, running and upgrading DavMail extremely easy. The information, code and support: http://davmail.sourceforge.net/ .

Installation

Pull the latest version of the image from the docker.

docker pull iahtoh/davmail

Alternately you can build the image yourself.

docker build -t iahtoh/davmail https://github.com/iAHTOH/docker-davmail.git

How to run?

Simple docker-compose

  docker-compose up -d
  docker-compose down

Simple docker run

 docker run -it --rm\
   -e DAVMAIL_SERVER=true
   -p 1025:1025\
   -p 1110:1110\
   iAHTOH/davmailr:latest

Example run command publishes 1025 (SMTP) and 1110 (POP), and uses only one environment varialbe. Please watch the example configs in docker-compose.yaml and tests/compose-sut.yaml and the official DavMail configuration example and references

Run using old-fasion text-based config

/Just add config path as command after the image TAG/

 docker run -it --rm\
   -v $PWD/conf/davmail.properties.example:/davmail/davmail.properties\
   -p 1025:1025\
   -p 1110:1110\
   iAHTOH/davmailr:latest /davmail/davmail.properties

Import to Kubernetes

 kubectl create -f k8s-pod.yaml

Docker tags

Builds

Repository:Tag Description
kran0/davmail-docker:latest latest stable release with the latest Dockerfile
kran0/davmail-docker:x.y.z stable releases Semver
kran0/davmail-docker:trunk HEAD rev in SVN repo. May be unstable!