diff --git a/postfix/Dockerfile b/postfix/Dockerfile index ba25800..a65539d 100644 --- a/postfix/Dockerfile +++ b/postfix/Dockerfile @@ -8,7 +8,8 @@ RUN \ # Install Postfix && apk --no-cache add ca-certificates postfix s6 \ # Cleanup - && rm -r /etc/postfix/access /etc/postfix/aliases /etc/postfix/canonical /etc/postfix/dynamicmaps.cf* /etc/postfix/generic /etc/postfix/header_checks /etc/postfix/postfix-files.d /etc/postfix/relocated /etc/postfix/transport /etc/postfix/virtual + && sed -ir '/^(#.*)?$/d' /etc/postfix/aliases \ + && rm -r /etc/postfix/access /etc/postfix/canonical /etc/postfix/dynamicmaps.cf* /etc/postfix/generic /etc/postfix/header_checks /etc/postfix/postfix-files.d /etc/postfix/relocated /etc/postfix/transport /etc/postfix/virtual COPY docker/ /