1
0
mirror of https://github.com/docker-mailserver/docker-mailserver.git synced 2025-08-09 23:07:35 +02:00

Empty /etc/aliases to avoid error in log regarding format (we use virtual aliases in this image). (#429)

Fixes #425
This commit is contained in:
Thomas VIAL
2016-12-25 15:56:35 +01:00
committed by GitHub
parent 63cf0f9965
commit ae9eaae68e

View File

@@ -102,6 +102,7 @@ RUN sed -i 's/START_DAEMON=no/START_DAEMON=yes/g' /etc/default/fetchmail
# Configures Postfix
COPY target/postfix/main.cf target/postfix/master.cf /etc/postfix/
RUN echo "" > /etc/aliases
# Configuring Logs
RUN sed -i -r "/^#?compress/c\compress\ncopytruncate" /etc/logrotate.conf && \