docker-mailserver/test
Georg Lauterbach e6af5a118f
Adjust envrionment variables - more sensible defaults (#2428)
The new setup will now set env variables on one place and on one place
only. The old setup used two separate places wich is not DRY and
confusing.

Some default values changed:

1. PFLOGSUMM_TRIGGER: logrotate => none
2. REPORT_SENDER: mailserver-report@HOSTNAME => mailserver-report@DOMAIN
3. REPORT_RECIPIENT: "0" => POSTMASTER_ADDRESS

One env variable was renamed: REPORT_INTERVAL => LOGROTATE_INTERVAL

I believe these defaults to be more sensible, especially the REPORT_RECIPIENT
address. The PFLOGSUMM_TRIGGER value was changed to `none` because otherwise
people would start getting daily Postfix log summary reports automatically.
Now, this is opt-in, and reports are sent only when enabled properly.

Some of the variables changed were marked as deprecated. I removed the note,
as the variables now bear some (sane) defaults again for other variables
(i.e.) REPORT_RECIPIENT is now default for other recipient addresses.

Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
Co-authored-by: Casper <casperklein@users.noreply.github.com>
2022-03-03 10:22:17 +13:00
..
bats@54e965fa9d Revert "check-for-changes: performance improvements + wait for settle (#2104)" 2021-08-28 19:16:34 -04:00
config tests(feat): Complete rewrite of letsencrypt tests (#2286) 2021-11-16 16:00:16 +01:00
docker-openldap formatting files according to standard (#1619) 2020-09-24 14:54:21 +02:00
linting Updated ShellCheck to `0.8.0` and Hadolint to `2.8.0` (#2329) 2021-12-19 11:56:22 +01: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 tests: remove legacy functions / tests (#2434) 2022-03-02 14:55:17 +01:00
default_relay_host.bats Provide complete refactoring of openDKIM script (#1812) 2021-02-18 10:29:34 +01:00
dovecot_inet_protocol.bats Introduce DOVECOT_INET_PROTOCOLS env (#2358) 2022-01-06 00:53:18 +01:00
helper-functions.bats tests: remove legacy functions / tests (#2434) 2022-03-02 14:55:17 +01:00
mail_changedetector.bats tests: remove legacy functions / tests (#2434) 2022-03-02 14:55:17 +01:00
mail_disabled_clamav_spamassassin.bats tests: remove legacy functions / tests (#2434) 2022-03-02 14:55:17 +01:00
mail_dnsbl.bats Introduce ENABLE_DNSBL env (#2342) 2022-01-03 22:03:46 +01:00
mail_fail2ban.bats tests: remove legacy functions / tests (#2434) 2022-03-02 14:55:17 +01:00
mail_fetchmail.bats tests: remove legacy functions / tests (#2434) 2022-03-02 14:55:17 +01:00
mail_fetchmail_parallel.bats tests: remove legacy functions / tests (#2434) 2022-03-02 14:55:17 +01:00
mail_hostname.bats tests: remove legacy functions / tests (#2434) 2022-03-02 14:55:17 +01:00
mail_lmtp_ip.bats PERMIT_DOCKER=none as new default value (#2424) 2022-03-02 16:03:40 +01:00
mail_pop3.bats PERMIT_DOCKER=none as new default value (#2424) 2022-03-02 16:03:40 +01:00
mail_postfix_inet.bats Catch errors on config duplication command 2020-10-20 09:33:47 +02:00
mail_postscreen.bats tests: remove legacy functions / tests (#2434) 2022-03-02 14:55:17 +01:00
mail_privacy.bats tests: remove legacy functions / tests (#2434) 2022-03-02 14:55:17 +01:00
mail_quotas_disabled.bats tests: remove legacy functions / tests (#2434) 2022-03-02 14:55:17 +01:00
mail_smtponly.bats tests: remove legacy functions / tests (#2434) 2022-03-02 14:55:17 +01:00
mail_spam_bounced.bats PERMIT_DOCKER=none as new default value (#2424) 2022-03-02 16:03:40 +01:00
mail_spam_junk_folder.bats PERMIT_DOCKER=none as new default value (#2424) 2022-03-02 16:03:40 +01:00
mail_special_use_folders.bats tests: remove legacy functions / tests (#2434) 2022-03-02 14:55:17 +01:00
mail_ssl_letsencrypt.bats PERMIT_DOCKER=none as new default value (#2424) 2022-03-02 16:03:40 +01:00
mail_ssl_manual.bats tests: remove legacy functions / tests (#2434) 2022-03-02 14:55:17 +01:00
mail_tls_dhparams.bats tests: remove legacy functions / tests (#2434) 2022-03-02 14:55:17 +01:00
mail_undef_spam_subject.bats first refactoring fr *.bats according to shellcheck 2020-11-05 19:15:28 +01:00
mail_with_imap.bats PERMIT_DOCKER=none as new default value (#2424) 2022-03-02 16:03:40 +01:00
mail_with_ldap.bats Adjust envrionment variables - more sensible defaults (#2428) 2022-03-03 10:22:17 +13:00
mail_with_mdbox.bats tests: remove legacy functions / tests (#2434) 2022-03-02 14:55:17 +01:00
mail_with_postgrey.bats PERMIT_DOCKER=none as new default value (#2424) 2022-03-02 16:03:40 +01:00
mail_with_postgrey_disabled_by_default.bats first refactoring fr *.bats according to shellcheck 2020-11-05 19:15:28 +01:00
mail_with_relays.bats tests: remove legacy functions / tests (#2434) 2022-03-02 14:55:17 +01:00
mail_with_sdbox.bats tests: remove legacy functions / tests (#2434) 2022-03-02 14:55:17 +01: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: remove legacy functions / tests (#2434) 2022-03-02 14:55:17 +01:00
permit_docker.bats Rootless Podman security update (#2393) 2022-02-09 10:25:09 +01:00
security_tls_cipherlists.bats tests: remove legacy functions / tests (#2434) 2022-03-02 14:55:17 +01:00
sedfile.bats Add tests for sedfile wrapper (#2363) 2022-01-10 01:12:07 +01:00
test_helper.bats follow up on #2177 with @polarathene's suggestions (#2180) 2021-09-12 00:43:42 +12:00
tests.bats Adjust envrionment variables - more sensible defaults (#2428) 2022-03-03 10:22:17 +13:00