Package: postfix
Version: 3.0.4-5
Severity: important

when upgrading postfix from jessie to (yet unreleased stretch) postfix
warns that master.cf my contain default value '-' for the chroot
column but the default of that chroot value depends on postfix setting
'compatibility_level'.

Please see

  http://www.postfix.org/COMPATIBILITY_README.html#chroot

for more details.

postfix init.d script contains this:

---snip---
    config_dir=$($POSTCONF -h config_directory)
    # see if anything is running chrooted.
NEED_CHROOT=$(awk '/^[0-9a-z]/ && ($5 ~ "[-yY]") { print "y"; exit}' ${config_dir}/master.cf)
---snip---

This needs to be modified to take the output of
`postconf compatibility_level' into account.

If compatibility_level  < 2, default value '-' equals to: do chroot.
If compatibility_level >= 2, default value '-' equals to: don't chroot.

Marcel

Reply via email to