diff options
-rw-r--r-- | Dockerfile | 8 | ||||
-rw-r--r-- | docker-compose.yml | 2 |
2 files changed, 10 insertions, 0 deletions
@@ -18,12 +18,20 @@ RUN useradd \ --home-dir /var/spool/postfix \ postfix +RUN useradd \ + --uid 2002 --system \ + --shell /usr/sbin/nologin \ + --home-dir /var/spool/mlmmj \ + --skel /dev/null --create-home \ + mlmmj + # Install packages RUN apt update \ && apt full-upgrade --yes \ && apt install --yes \ dovecot-core \ dovecot-imapd \ + mlmmj \ postfix \ postfix-pcre \ && apt clean diff --git a/docker-compose.yml b/docker-compose.yml index a636181..60b4b08 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -17,6 +17,7 @@ services: - "certs:/etc/certs" - "mail:/var/mail" - "postfix:/var/spool/postfix" + - "mlmmj:/var/spool/mlmmj" ports: - "25:25" - "465:465" @@ -51,6 +52,7 @@ volumes: name: "proxy-docker_certs" mail: postfix: + mlmmj: networks: nginx-proxy-network: |