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
1 changed files with 1 additions and 0 deletions

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 && \