iRedMail Enterprise Edition. https://www.iredmail.org/ee.html
1.0K
ee.sh with content below, then launch the container with command: bash ee.sh.
EE_VERSION. e.g. EE_VERSION='v1.5.1'.BASE_OS. e.g. BASE_OS='ubuntu'. Available base OSes are: ubuntu, debian.HOSTNAME, must be a FQDN. e.g. HOSTNAME=mail.mydomain.com.8080 to finish the initial setup.443 to manage server and mail accounts after initial setup.#!/usr/bin/env bash
EE_VERSION="v1.5.1"
BASE_OS="ubuntu"
HOSTNAME="mail.mydomain.com"
IMAGE_TAG="${EE_VERSION}-${BASE_OS}"
docker run -d \
--hostname ${HOSTNAME} \
--name iredmail-ee \
--cap-add DAC_READ_SEARCH \
--cap-add FOWNER \
--cap-add NET_ADMIN \
--security-opt apparmor=unconfined \
-p 25:25 \
-p 81:80 \
-p 8080:8080 \
-p 443:443 \
-p 110:110 \
-p 143:143 \
-p 993:993 \
-p 995:995 \
-p 465:465 \
-p 587:587 \
-v /etc/localtime:/etc/localtime \
-v iredmail_root_dot_iredmail:/root/.iredmail \
-v iredmail_opt:/opt/iredmail \
-v iredmail_log:/var/log \
-v iredmail_vmail:/var/vmail \
-v iredmail_postfix_queue:/var/spool/postfix \
-v iredmail_mysql:/var/lib/mysql \
-v iredmail_pgsql:/var/lib/pgsql/data \
-v iredmail_ldap:/var/lib/ldap \
-v iredmail_amavis:/var/lib/amavis \
-v iredmail_amavis_spool:/var/spool/amavisd \
-v iredmail_clamav:/var/lib/clamav \
-v iredmail_spamassassin:/var/lib/spamassassin \
iredmail/ee:${IMAGE_TAG}
Notes:
--cap-add DAC_READ_SEARCH, --cap-add FOWNER and --cap-add NET_ADMIN are required by netdata, if you don't run netdata, then it's ok to remove them.WARNING:
ee:v1.5.0-debian first, stop or destroyed the container and run ee:v1.5.0-ubuntu with same volumes used by ee:v1.5.0-debian. Different OSes have different UID / GID of system accounts (e.g. mysql user), switching to image with different base OS causes software fail to run.Content type
Image
Digest
sha256:adfce8f7e…
Size
582.6 MB
Last updated
12 months ago
docker pull iredmail/ee:v1.5.1-ubuntu