DavMail POP/IMAP/SMTP/Caldav/Carddav/LDAP Exchange Gateway
This dockerised version makes building, installing, running and upgrading DavMail extremely easy. The information, code and support: http://davmail.sourceforge.net/ .
- Please read the davmail.properties example and references;
- Edit docker-compose.yaml to set environment variables;
- Run service:
docker-compose up -d
docker-compose down
Entrypoint script will try to store the created persistent variables on the davmail-config volume file system.
If this volume is deleted, some of the persistent configuration data may be lost.
You can force disable davmail-config persistance usage by setting DISABLE_DAVMAIL_PROPERTIES_PERSISTENCE=true
docker run -it --rm\
-e DAVMAIL_SERVER=true
-p 1025:1025\
-p 1110:1110\
kran0/davmail-docker: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
/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\
kran0/davmail-docker:latest /davmail/davmail.properties
kubectl create -f k8s-pod.yaml