diff options
author | Malfurious <m@lfurio.us> | 2024-06-14 23:18:56 -0400 |
---|---|---|
committer | Malfurious <m@lfurio.us> | 2024-06-15 17:41:53 -0400 |
commit | 5eb4f64c86a963c33b5958092b33924a43749e99 (patch) | |
tree | b3c4faec2157889b715f99535ef4712037c0f2b5 | |
parent | 2ee344e9c7ab8182efde6a18e50d4b4e7d148e71 (diff) | |
download | mailnode-5eb4f64c86a963c33b5958092b33924a43749e99.tar.gz mailnode-5eb4f64c86a963c33b5958092b33924a43749e99.zip |
mlmmj: Setup mailing list package
Signed-off-by: Malfurious <m@lfurio.us>
-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: |