Set postfix permissions
This commit is contained in:
parent
47f227463c
commit
69baacf10d
@ -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
|
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 include /etc/postfix/include
|
||||||
COPY ssl /etc/postfix/ssl
|
COPY ssl /etc/postfix/ssl
|
||||||
|
RUN chmod 644 /etc/postfix/ssl/ca.crts /etc/postfix/include/*cf
|
||||||
|
|
||||||
# Enable DKIM
|
# Enable DKIM
|
||||||
RUN mkdir /run/opendkim
|
RUN mkdir /run/opendkim
|
||||||
|
Loading…
Reference in New Issue
Block a user