Sign inSign up

morgan404/custom-davmail

By morgan404

Updated about 2 years ago

Custom DavMail image to connect to Exchange and Office 365 [EWS Connector]

Image
Networking
0

216

morgan404/custom-davmail repository overview

Custom DavMail Docker Image

This custom DavMail image, with added functionality to allow the Exchange mail server URL to be specified as an environment variable at runtime. It supports Exchange 2016+ and and Microsoft 365.

Features

  • Configurable mail server URL using the EX DOMAIN environment variable.
  • Automatic substitution of the mail server URL in the DavMail configuration file on container startup.
  • Exposes ports for SMTP services.
  • Based on the latest official DavMail image.

Usage

Environment Variables
  • EX: The URL of the mail server to be used by DavMail. This should be provided in the format mail.example.com (without https://).
  • DOMAIN: The AD domain name of the mail server. for example example.com or example.local.
Ports

The following ports are exposed by the container:

  • 1025: SMTP
Example Docker Run Command

To run the container with your custom mail server URL, use the following command:

docker run -d \
       --name davmail \
       -e DOMAIN=example.com \
       -e EX=mail.example.com \
       -p 1025:1025 morgan404/custom-davmail

Tag summary

Content type

Image

Digest

sha256:e93e45482

Size

72 MB

Last updated

about 2 years ago

docker pull morgan404/custom-davmail