Set postfix permissions

This commit is contained in:
Deon George 2023-05-02 21:02:18 +10:00
parent 47f227463c
commit 69baacf10d
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ RUN apk add shadow && useradd -rc "HUB Mail Relay" -M relay -NG mail -s /sbin/no
RUN sed -i -e 's%^#mynetworks = hash:/etc/postfix/network_table%mynetworks = /etc/opendkim/signing/TrustedHosts%' /etc/postfix/main.cf
COPY include /etc/postfix/include
COPY ssl /etc/postfix/ssl
RUN chmod 644 /etc/postfix/ssl/ca.crts /etc/postfix/include/*cf
# Enable DKIM
RUN mkdir /run/opendkim