summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2024-06-14 23:18:56 -0400
committerMalfurious <m@lfurio.us>2024-06-15 17:41:53 -0400
commit5eb4f64c86a963c33b5958092b33924a43749e99 (patch)
treeb3c4faec2157889b715f99535ef4712037c0f2b5
parent2ee344e9c7ab8182efde6a18e50d4b4e7d148e71 (diff)
downloadmailnode-5eb4f64c86a963c33b5958092b33924a43749e99.tar.gz
mailnode-5eb4f64c86a963c33b5958092b33924a43749e99.zip
mlmmj: Setup mailing list package
Signed-off-by: Malfurious <m@lfurio.us>
-rw-r--r--Dockerfile8
-rw-r--r--docker-compose.yml2
2 files changed, 10 insertions, 0 deletions
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: