From 19cb22a1a54480a24d51f81b8fa6baf2dec49146 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Laubacher?= Date: Mon, 12 Feb 2018 22:04:02 +0100 Subject: [PATCH] Generate new DH param weekly instead of daily (#836) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6c260792..b50ff946 100644 --- a/Dockerfile +++ b/Dockerfile @@ -179,7 +179,7 @@ COPY target/postfix/main.cf target/postfix/master.cf /etc/postfix/ COPY target/postfix/sender_header_filter.pcre /etc/postfix/maps/sender_header_filter.pcre RUN echo "" > /etc/aliases && \ openssl dhparam -out /etc/postfix/dhparams.pem 2048 && \ - echo "@daily FILE=`mktemp` ; openssl dhparam -out $FILE 2048 > /dev/null 2>&1 && mv -f $FILE /etc/postfix/dhparams.pem" > /etc/cron.d/dh2048 + echo "@weekly FILE=`mktemp` ; openssl dhparam -out $FILE 2048 > /dev/null 2>&1 && mv -f $FILE /etc/postfix/dhparams.pem" > /etc/cron.d/dh2048 # Configuring Logs