docker-mailserver/test
Brennan Kinney 08cd4d3371
fix: Enable DH parameters (ffdhe4096) by default (#2192)
This feature was originally introduced by the PR: https://github.com/docker-mailserver/docker-mailserver/pull/1463

- Assign default DH params to use via Dockerfile build instead of copy and update at runtime.
- Parameterized service names and paths.
- Refactor postfix and dovecot dh methods to wrap shared dh logic
- I don't see any value in checking the alternative service for dh params file to copy over, so that's now dropped too.
- Another conditional check is dropped and the default fallback message for existing DH params file is no longer relevant.
- Improved the remaining `_notify` messages. Collapsing the warning into a single logged message also seemed relevant.
- There is no apparent need for special handling with `ONE_DIR=1`. Dropped it.

- Refactor DH params  tests
- Combine custom and default DH param tests into single test file
- docs: Add instructions to use custom DH params

There is no official documented support for custom DH parameters. As no guarantee is provided, this is considered an internal change, not a breaking one.
2021-09-15 20:28:04 +12:00
..
bats@54e965fa9d Revert "check-for-changes: performance improvements + wait for settle (#2104)" 2021-08-28 19:16:34 -04:00
config Fail2Ban block behaviour (#1914) 2021-04-18 12:55:43 +02:00
docker-openldap formatting files according to standard (#1619) 2020-09-24 14:54:21 +02:00
linting chore(scripts): Removing flock so NFS works (#1980) 2021-06-15 14:03:41 +02:00
test-files Add LDAP_QUERY_FILTER_SENDERS setting for spoof protection with LDAP (#1902) 2021-04-17 22:40:19 +02:00
test_helper setup.sh: docker_container first, then fall back to docker_image (#2134) 2021-09-06 10:13:12 +00:00
default_relay_host.bats Provide complete refactoring of openDKIM script (#1812) 2021-02-18 10:29:34 +01:00
helper-functions.bats Lock file create and remove improvements (#2183) 2021-09-13 20:09:01 +12:00
mail_changedetector.bats Lock file create and remove improvements (#2183) 2021-09-13 20:09:01 +12:00
mail_disabled_clamav_spamassassin.bats introduce variable to control Amavis' loglevel (#1947) 2021-05-06 23:51:45 +02:00
mail_fail2ban.bats introduce F2B v0.11 (#1965) 2021-05-15 11:11:10 +02:00
mail_fetchmail.bats first refactoring fr *.bats according to shellcheck 2020-11-05 19:15:28 +01:00
mail_fetchmail_parallel.bats Solve Fetchmail imap idle issue (#10) 2021-01-17 10:39:09 +01:00
mail_hostname.bats HOSTNAME and DOMAINNAME setting improvements (#2175) 2021-09-12 02:20:16 +12:00
mail_lmtp_ip.bats first refactoring fr *.bats according to shellcheck 2020-11-05 19:15:28 +01:00
mail_pop3.bats first refactoring fr *.bats according to shellcheck 2020-11-05 19:15:28 +01:00
mail_postfix_inet.bats Catch errors on config duplication command 2020-10-20 09:33:47 +02:00
mail_postscreen.bats first refactoring fr *.bats according to shellcheck 2020-11-05 19:15:28 +01:00
mail_privacy.bats first refactoring fr *.bats according to shellcheck 2020-11-05 19:15:28 +01:00
mail_quotas_disabled.bats Catch errors on config duplication command 2020-10-20 09:33:47 +02:00
mail_smtponly.bats use wait_for_smtp function instead of sleep 2020-11-06 14:11:42 +01:00
mail_spam_bounced.bats Catch errors on config duplication command 2020-10-20 09:33:47 +02:00
mail_spam_junk_folder.bats Fix timing dependent failures 2020-10-20 14:14:04 +02:00
mail_special_use_folders.bats first refactoring fr *.bats according to shellcheck 2020-11-05 19:15:28 +01:00
mail_ssl_letsencrypt.bats Revert "check-for-changes: performance improvements + wait for settle (#2104)" 2021-08-28 19:16:34 -04:00
mail_ssl_manual.bats Dual certificate support (eg ECDSA with RSA fallback) (#1801) 2021-02-21 23:43:41 +01:00
mail_tls_dhparams.bats fix: Enable DH parameters (ffdhe4096) by default (#2192) 2021-09-15 20:28:04 +12: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 first refactoring fr *.bats according to shellcheck 2020-11-05 19:15:28 +01:00
mail_with_ldap.bats setup.sh: docker_container first, then fall back to docker_image (#2134) 2021-09-06 10:13:12 +00:00
mail_with_mdbox.bats first refactoring fr *.bats according to shellcheck 2020-11-05 19:15:28 +01:00
mail_with_postgrey.bats removing bl.spamcop.net for 8.0.1 2021-01-31 16:05:05 +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 Revert "check-for-changes: performance improvements + wait for settle (#2104)" 2021-08-28 19:16:34 -04:00
mail_with_sdbox.bats first refactoring fr *.bats according to shellcheck 2020-11-05 19:15:28 +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 Revert "check-for-changes: performance improvements + wait for settle (#2104)" 2021-08-28 19:16:34 -04:00
permit_docker.bats first refactoring fr *.bats according to shellcheck 2020-11-05 19:15:28 +01:00
security_tls_cipherlists.bats Dual certificate support (eg ECDSA with RSA fallback) (#1801) 2021-02-21 23:43:41 +01:00
test_helper.bats follow up on #2177 with @polarathene's suggestions (#2180) 2021-09-12 00:43:42 +12:00
tests.bats Move setup process via script into container (#2174) 2021-09-12 11:29:02 +12:00