mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
FIX: escape symbols in cron command (#1200)
This commit is contained in:
parent
42675ba7ad
commit
70cbfa352b
|
@ -181,7 +181,7 @@ COPY target/postfix/main.cf target/postfix/master.cf /etc/postfix/
|
||||||
COPY target/postfix/header_checks.pcre target/postfix/sender_header_filter.pcre target/postfix/sender_login_maps.pcre /etc/postfix/maps/
|
COPY target/postfix/header_checks.pcre target/postfix/sender_header_filter.pcre target/postfix/sender_login_maps.pcre /etc/postfix/maps/
|
||||||
RUN echo "" > /etc/aliases && \
|
RUN echo "" > /etc/aliases && \
|
||||||
openssl dhparam -out /etc/postfix/dhparams.pem 2048 && \
|
openssl dhparam -out /etc/postfix/dhparams.pem 2048 && \
|
||||||
echo "@weekly 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
|
# Configuring Logs
|
||||||
|
|
Loading…
Reference in a new issue