summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index e7ca4b9..aa35a8f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -48,10 +48,11 @@ RUN apt update \
# Install files
COPY dovecot /etc/dovecot/
+COPY opendkim /etc/
COPY postfix /etc/postfix/
COPY userconfig /etc/userconfig/
-RUN find /etc/dovecot /etc/postfix -type f | xargs sed -i \
+RUN find /etc/dovecot /etc/opendkim.conf /etc/postfix -type f | xargs sed -i \
"s/ENV_HOSTNAME/${HOSTNAME}/g; s/ENV_VIRTUAL_DOMAINS/${VIRTUAL_DOMAINS}/g"
EXPOSE 25