Setup mail server with ldap authentication in docker
Getting an email server to run in docker is easy but getting an email server with ldap authentication to run in docker spend me a week to get up and running. Here are the steps that I taken. I will assume you already know how to install docker. Install LDAP. docker run \ --detach \ --restart unless-stopped \ --name openldap \ -e LDAP_ORGANISATION=domain \ -e LDAP_DOMAIN=domain.com \ -e LDAP_ADMIN_PASSWORD=complex-password \ -e LDAP_RFC2307BIS_SCHEMA=true \ -e LDAP_REMOVE_CONFIG_AFTER_SETUP=true \ -e LDAP_TLS=false \ ...
Comments
Post a Comment
Feel free to leave your question or comment here, we will reply you as soon as possible.