summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2024-06-15 17:43:00 -0400
committerMalfurious <m@lfurio.us>2024-06-15 17:43:00 -0400
commit2e2e06f47683d484e4852c2978fd787660ad730e (patch)
treeb1f25e6b9fe681144c82b361527965a535a535d6 /Dockerfile
parent2ee344e9c7ab8182efde6a18e50d4b4e7d148e71 (diff)
parent57d0c93851d72789c2adda1ed1e8b671bcd3f884 (diff)
downloadmailnode-2e2e06f47683d484e4852c2978fd787660ad730e.tar.gz
mailnode-2e2e06f47683d484e4852c2978fd787660ad730e.zip
Merge branch 'mailing-lists'
* mailing-lists: mlmmj: Add maintenance service mlmmj: Don't mention FAQ address mlmmj: Use simpler message prologue mlmmj: Add user configuration directories mlmmj: Integration with postfix mlmmj: Setup mailing list package
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index ec181bd..55b4e01 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -18,14 +18,23 @@ 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 \
+ sudo \
&& apt clean
# Install files