Skip to content

kukovecz/davmail-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

davmail-docker

A simple docker-compose and Dockerfile to davmail.

Contents of the davmail directory was downloaded from Sourceforge.

First time setup

Using the davmail.mode=O365Modern is a little bit tricky, because a session token always needs to be refreshed. Luckily, davmail does this, but first we need to give it permission. So for the first run:

  1. Change the log levels in the davmail.propertiesto DEBUG
  2. When the authentication fails, click the link in the logs and give it permission in the O365.
  3. You can set back the log levels. From this point, it will be handled.

Used custom configuration

  • davmail configuration can be found in davmail.properties.
    It is the same as recommended in the Server Setup, except:

    • davmail.mode=O365Modern (see above)
  • IMAP port is mapped to 7007 (in docker-compose.yml)

  • SMTP port is mapped to 7008 (in docker-compose.yml)

  • All other davmail supported ports are not exposed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published