Browse Source

use postfix start-fg command

master
Andrey Arapov 2 years ago
parent
commit
d493b877b3
Signed by: arno GPG Key ID: 9076D5E6B31AE99C
2 changed files with 3 additions and 6 deletions
  1. +0
    -5
      TODO.md
  2. +3
    -1
      service/postfix/run

+ 0
- 5
TODO.md 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").

+ 3
- 1
service/postfix/run View File

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