From 5eb4f64c86a963c33b5958092b33924a43749e99 Mon Sep 17 00:00:00 2001 From: Malfurious Date: Fri, 14 Jun 2024 23:18:56 -0400 Subject: mlmmj: Setup mailing list package Signed-off-by: Malfurious --- Dockerfile | 8 ++++++++ docker-compose.yml | 2 ++ 2 files changed, 10 insertions(+) diff --git a/Dockerfile b/Dockerfile index ec181bd..55e2c07 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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: -- cgit v1.2.3