Browse Source

Revert "configure logging to stdout during startup to effect mounted configs"

This reverts commit cd70620bb51867486c8b1ead5969eb4317c30e60.
Fabian Peter Hammerle 5 years ago
parent
commit
b5e44efbc2
2 changed files with 1 additions and 3 deletions
  1. 1 0
      Dockerfile
  2. 0 3
      postfix.sh

+ 1 - 0
Dockerfile

@@ -4,6 +4,7 @@ RUN apk add postfix
 
 # http://www.postfix.org/MAILLOG_README.html
 RUN postconf -F | grep -E '^postlog/unix-dgram/service = postlog$' \
+    && postconf -evv maillog_file=/dev/stdout \
     && postfix check
 
 EXPOSE 25/tcp

+ 0 - 3
postfix.sh

@@ -12,7 +12,4 @@ set -x
 # http://www.postfix.org/newaliases.1.html
 newaliases
 
-# http://www.postfix.org/MAILLOG_README.html
-postconf -e maillog_file=/dev/stdout
-
 exec postfix start-fg