From 3b62a45330e71f81d59b1215ecd0b3f1214ad2e4 Mon Sep 17 00:00:00 2001 From: Deon George Date: Thu, 5 Sep 2019 15:15:50 +1000 Subject: [PATCH] Changed password, changed saslauthd mech_list --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4c06540..803b326 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,10 +5,11 @@ FROM debian:stretch-slim RUN apt-get update \ && apt-get install sendmail sasl2-bin milter-greylist -yyq \ + && sed -ie 's/mech_list: EXTERNAL DIGEST-MD5 CRAM-MD5/mech_list:/' /etc/mail/sasl/Sendmail.conf.2 \ && cd /etc/mail && make clean \ && rm -rf /var/lib/apt/lists/* /tmp/* -RUN useradd -rc "HUB Mail Relay" -M relay -NG mail -s /sbin/nologin && echo relay:SmTpR3l@Y | chpasswd +RUN useradd -rc "HUB Mail Relay" -M relay -NG mail -s /sbin/nologin && echo relay:SmTpR3l2Y | chpasswd EXPOSE 25