A Docker image running Dovecot on Debian stable ("jessie" at the moment) with the following modules:
This image provide mailbox managment services. You can access those mailboxes using IMAP or POP protocols. Mails might be delivered using LMTP protocol.
Every mailbox access required an authenticated user. The user database is provided by an external LDAP service.
The image exposes several TCP ports. The IMAP and POP ports used to access to the mailboxes. The LMTP port to ship messages to the mailboxes:
The image exposes three directories:
/etc/ssl/localcerts/imap.cert.pem and /etc/ssl/localcerts/imap.key.pem. If none are provided, the startup script will generate new keys and self-signed certificate.The most simple use would be to start the application like so :
docker run -d
-p 143:143
--link ldap-container:ldap
-e LDAP_USER_FIELD="uid"
-e LDAP_BASE="ou=users,dc=yourdomain,dc=com"
teid/dovecot-ldap
However, you should use your own certificate and a data-only container to store the mailboxes
docker run -d
-p 993:993
--link ldap-container:ldap
--volumes-from imap-certs
--volumes-from imap-data
-e LDAP_USER_FIELD="uid"
-e LDAP_BASE="ou=users,dc=yourdomain,dc=com"
teid/dovecot-ldap
The following environment variables allows you to override some LDAP configurations:
username fieldNote: If you are using a custom configuration volume with this variables, your configuration files might be altered. You should not use both features.
The user are authenticated thanks to the user part of the address (user@domain). So the LDAP_USER_FIELD should contains the usernames without the address extensions. The LDAP auth will use the bind method
Content type
Image
Digest
Size
35.6 MB
Last updated
over 5 years ago
docker pull morgenroth/dovecot