docker-mailserver/target/scripts/startup
Brennan Kinney 3d6e7a7bb8
service(postfix): Better handling of the `compatibility_level` setting (#2597)
* chore: Fix typo

* chore: Apply explicit chroot default for `sender-cleanup`

The implicit default is set to `y` as a compatibility fallback, but otherwise it is [advised to set to `n` going forward](http://www.postfix.org/COMPATIBILITY_README.html#chroot).

Test was changed to catch any backwards-compatibility logs, not just those for `chroot=y`. `using` added as a prefix to avoid catching log message whenever a setting is changed that the default compatibility level is active.

* chore: Set `compatibility_level` in `main.cf`

We retain the level`2` value previously set via scripts. This avoids log noise that isn't helpful.

Applied review feedback to give maintainers some context with this setting and why we have it presently set to `2`.
2022-06-05 12:10:20 +12:00
..
check-stack.sh scripts: more consistency in `start-mailserver.sh` (#2587) 2022-05-15 23:37:21 +02:00
daemons-stack.sh Remove unnecessary quotes from command substitutions (#2561) 2022-05-05 10:28:38 +02:00
fixes-stack.sh scripts: more consistency in `start-mailserver.sh` (#2587) 2022-05-15 23:37:21 +02:00
misc-stack.sh fix: Only add state of enabled services for volume mount (#2608) 2022-06-05 12:02:25 +12:00
setup-stack.sh service(postfix): Better handling of the `compatibility_level` setting (#2597) 2022-06-05 12:10:20 +12:00