use postfix start-fg command

This commit is contained in:
Andy 2018-12-17 11:13:16 +01:00
parent ce6457f0dd
commit d493b877b3
Signed by: arno
GPG Key ID: 9076D5E6B31AE99C
2 changed files with 3 additions and 6 deletions

View File

@ -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").

View File

@ -13,4 +13,6 @@ set -e
postfix check 2>&1 postfix check 2>&1
# run Postfix # 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