From d493b877b3cff64df86d1559c8ba49e031b0a5bc Mon Sep 17 00:00:00 2001 From: Andrey Arapov Date: Mon, 17 Dec 2018 11:13:16 +0100 Subject: [PATCH] use postfix start-fg command --- TODO.md | 5 ----- service/postfix/run | 4 +++- 2 files changed, 3 insertions(+), 6 deletions(-) delete mode 100644 TODO.md diff --git a/TODO.md b/TODO.md deleted file mode 100644 index 0fcc744..0000000 --- a/TODO.md +++ /dev/null @@ -1,5 +0,0 @@ -## TODO - -http://www.postfix.org/announcements/postfix-3.3.0.html - -> Container support: Postfix 3.3 will run in the foreground with "postfix start-fg". This requires that Postfix multi-instance support is disabled (the default). To collect Postfix syslog information on the container's host, mount the host's /dev/log socket into the container, for example with "docker run -v /dev/log:/dev/log ...other options...", and specify a distinct Postfix syslog_name setting in the container (for example with "postconf syslog_name=the-name-here"). diff --git a/service/postfix/run b/service/postfix/run index 80fd229..66abfc7 100755 --- a/service/postfix/run +++ b/service/postfix/run @@ -13,4 +13,6 @@ set -e postfix check 2>&1 # run Postfix -exec /usr/lib/postfix/master 2>&1 +# exec /usr/lib/postfix/master 2>&1 +# after postfix 3.3.0 use postfix start-fg command +exec postfix start-fg 2>&1