use postfix start-fg command

master
Andy 5 years ago
parent ce6457f0dd
commit d493b877b3
Signed by: arno
GPG Key ID: 9076D5E6B31AE99C

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

@ -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

Loading…
Cancel
Save