docker-mailserver/test
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
..
bats@54e965fa9d Revert "check-for-changes: performance improvements + wait for settle (#2104)" 2021-08-28 19:16:34 -04:00
config firewall: replace iptables with nftables (#2505) 2022-04-05 15:13:59 +02:00
docker-openldap formatting files according to standard (#1619) 2020-09-24 14:54:21 +02:00
linting Remove unnecessary quotes from command substitutions (#2561) 2022-05-05 10:28:38 +02:00
test-files tests(chore): Adjust supported FQDNs in test certs + add wildcard and acme.json configs (#2284) 2021-11-03 20:25:25 +00:00
test_helper chore(housekeeping): Create helpers/change-detection.sh (#2610) 2022-06-05 11:59:54 +12:00
default_relay_host.bats tests(fix): Adjust for local testing conditions (#2606) 2022-05-30 12:53:30 +12:00
dovecot_inet_protocol.bats tests(fix): Adjust for local testing conditions (#2606) 2022-05-30 12:53:30 +12:00
helper-functions.bats tests(fix): Adjust for local testing conditions (#2606) 2022-05-30 12:53:30 +12:00
mail_changedetector.bats tests(fix): Adjust for local testing conditions (#2606) 2022-05-30 12:53:30 +12:00
mail_disabled_clamav_spamassassin.bats tests(fix): Adjust for local testing conditions (#2606) 2022-05-30 12:53:30 +12:00
mail_dnsbl.bats tests(fix): Adjust for local testing conditions (#2606) 2022-05-30 12:53:30 +12:00
mail_fail2ban.bats tests(fix): Adjust for local testing conditions (#2606) 2022-05-30 12:53:30 +12:00
mail_fetchmail.bats tests(fix): Adjust for local testing conditions (#2606) 2022-05-30 12:53:30 +12:00
mail_fetchmail_parallel.bats tests(fix): Adjust for local testing conditions (#2606) 2022-05-30 12:53:30 +12:00
mail_hostname.bats tests(fix): Adjust for local testing conditions (#2606) 2022-05-30 12:53:30 +12:00
mail_lmtp_ip.bats tests(fix): Adjust for local testing conditions (#2606) 2022-05-30 12:53:30 +12:00
mail_pop3.bats tests(fix): Adjust for local testing conditions (#2606) 2022-05-30 12:53:30 +12:00
mail_postfix_inet.bats tests(fix): Adjust for local testing conditions (#2606) 2022-05-30 12:53:30 +12:00
mail_postscreen.bats tests(fix): Adjust for local testing conditions (#2606) 2022-05-30 12:53:30 +12:00
mail_privacy.bats tests(fix): Adjust for local testing conditions (#2606) 2022-05-30 12:53:30 +12:00
mail_quotas_disabled.bats tests(fix): Adjust for local testing conditions (#2606) 2022-05-30 12:53:30 +12:00
mail_smtponly.bats tests(fix): Adjust for local testing conditions (#2606) 2022-05-30 12:53:30 +12:00
mail_spam_bounced.bats tests(fix): Adjust for local testing conditions (#2606) 2022-05-30 12:53:30 +12:00
mail_spam_junk_folder.bats tests(fix): Adjust for local testing conditions (#2606) 2022-05-30 12:53:30 +12:00
mail_special_use_folders.bats tests(fix): Adjust for local testing conditions (#2606) 2022-05-30 12:53:30 +12:00
mail_ssl_letsencrypt.bats feat: Support for Dovecot master accounts (#2535) 2022-05-08 00:28:32 +02:00
mail_ssl_manual.bats tests(fix): Adjust for local testing conditions (#2606) 2022-05-30 12:53:30 +12:00
mail_time.bats tests(fix): Adjust for local testing conditions (#2606) 2022-05-30 12:53:30 +12:00
mail_tls_dhparams.bats tests(fix): Adjust for local testing conditions (#2606) 2022-05-30 12:53:30 +12:00
mail_undef_spam_subject.bats tests(fix): Adjust for local testing conditions (#2606) 2022-05-30 12:53:30 +12:00
mail_with_imap.bats tests(fix): Adjust for local testing conditions (#2606) 2022-05-30 12:53:30 +12:00
mail_with_ldap.bats tests(fix): Adjust for local testing conditions (#2606) 2022-05-30 12:53:30 +12:00
mail_with_mdbox.bats tests(fix): Adjust for local testing conditions (#2606) 2022-05-30 12:53:30 +12:00
mail_with_postgrey.bats tests(fix): Adjust for local testing conditions (#2606) 2022-05-30 12:53:30 +12:00
mail_with_postgrey_disabled_by_default.bats tests(fix): Adjust for local testing conditions (#2606) 2022-05-30 12:53:30 +12:00
mail_with_relays.bats tests(fix): Adjust for local testing conditions (#2606) 2022-05-30 12:53:30 +12:00
mail_with_sdbox.bats tests(fix): Adjust for local testing conditions (#2606) 2022-05-30 12:53:30 +12:00
no_container.bats setup.sh: docker_container first, then fall back to docker_image (#2134) 2021-09-06 10:13:12 +00:00
open_dkim.bats tests(fix): Adjust for local testing conditions (#2606) 2022-05-30 12:53:30 +12:00
permit_docker.bats tests(fix): Adjust for local testing conditions (#2606) 2022-05-30 12:53:30 +12:00
security_tls_cipherlists.bats tests(fix): Adjust for local testing conditions (#2606) 2022-05-30 12:53:30 +12:00
sedfile.bats tests(fix): Adjust for local testing conditions (#2606) 2022-05-30 12:53:30 +12:00
test_helper.bats chore(housekeeping): Create helpers/change-detection.sh (#2610) 2022-06-05 11:59:54 +12:00
tests.bats service(postfix): Better handling of the compatibility_level setting (#2597) 2022-06-05 12:10:20 +12:00