mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
b9dbec3276
* refactored scripts located under `target/bin/` The scripts under `target/bin/` now use the new log and I replaced some `""` with `''` on the way. The functionality stays the same, this mostly style and log. * corrected fail2ban (script and tests) * corrected OpenDKIM log output in tests * reverted (some) changes to `sedfile` Moreover, a few messages for BATS were streamlined and a regression in the linting script reverted. * apple PR feedback * improve log output from `fail2ban` script The new output has a single, clear message with the '[ ERROR ] ' prefix, and then output that explains the error afterwards. This is coherent with the logging style which should be used while providing more information than just a single line about IPTables not functioning. * simplified `setquota` script * consistently named the `__usage` function Before, scripts located under `target/bin/` were using `usage` or `__usage`. Now, they're using `__usage` as they should. * improved `sedfile` With `sedfile`, we cannot use the helper functions in a nice way because it is used early in the Dockerfile at a stage where the helper scripts are not yet copied. The script has been adjusted to be canonical with all the other scripts under `target/bin/`. * fixed tests * removed `__usage` from places where it does not belong `__usage` is to be used on wrong user input, not on other failures as well. This was fixed in `delquota` and `setquota`. * apply PR review feedback |
||
---|---|---|
.. | ||
bats@54e965fa9d | ||
config | ||
docker-openldap | ||
linting | ||
test-files | ||
test_helper | ||
default_relay_host.bats | ||
dovecot_inet_protocol.bats | ||
helper-functions.bats | ||
mail_changedetector.bats | ||
mail_disabled_clamav_spamassassin.bats | ||
mail_dnsbl.bats | ||
mail_fail2ban.bats | ||
mail_fetchmail.bats | ||
mail_fetchmail_parallel.bats | ||
mail_hostname.bats | ||
mail_lmtp_ip.bats | ||
mail_pop3.bats | ||
mail_postfix_inet.bats | ||
mail_postscreen.bats | ||
mail_privacy.bats | ||
mail_quotas_disabled.bats | ||
mail_smtponly.bats | ||
mail_spam_bounced.bats | ||
mail_spam_junk_folder.bats | ||
mail_special_use_folders.bats | ||
mail_ssl_letsencrypt.bats | ||
mail_ssl_manual.bats | ||
mail_tls_dhparams.bats | ||
mail_undef_spam_subject.bats | ||
mail_with_imap.bats | ||
mail_with_ldap.bats | ||
mail_with_mdbox.bats | ||
mail_with_postgrey.bats | ||
mail_with_postgrey_disabled_by_default.bats | ||
mail_with_relays.bats | ||
mail_with_sdbox.bats | ||
no_container.bats | ||
open_dkim.bats | ||
permit_docker.bats | ||
security_tls_cipherlists.bats | ||
sedfile.bats | ||
test_helper.bats | ||
tests.bats |