summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2024-06-30 07:53:42 -0400
committerMalfurious <m@lfurio.us>2024-07-09 15:50:39 -0400
commit067a9c14c41022f5a93846a5b4c8dba4d5030ec1 (patch)
treed731688decdf0d6b611b86ca642b3372c3fb9b89 /Dockerfile
parent9652257a80f65965fb1adb5857ccfe764cc46fc7 (diff)
downloadmailnode-067a9c14c41022f5a93846a5b4c8dba4d5030ec1.tar.gz
mailnode-067a9c14c41022f5a93846a5b4c8dba4d5030ec1.zip
opendkim: Add default config file
Signed-off-by: Malfurious <m@lfurio.us>
Diffstat (limited to 'Dockerfile')
-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