docker-mailserver/test/tests/parallel/set1/spam_virus
Georg Lauterbach f674232f71
misc: final Rspamd adjustments for v13 (#3599)
* outsource Rspamd ENVs into explicit helper

This will allow us to uniformly source the helper and get the values
from everywhere consistently. This is more than desirable since we will
be using these values not only for the Rspamd setup, but also for DKIM
management and during change-detection.

* integrate Rspamd into changedetection

We outsource one more function to reside in the helper script for Rspamd
so that we can call this function from the Rspamd setup and from the
changedetection functionality too.

* realize deprecation of old commands file for Rspamd

THIS IS A BREAKING CHANGE!

This change realizes the log message: "Using old file location now
(deprecated) - this will prevent startup in v13.0.0" Startup will now
fail.

* added '--force' option to Rspamd DKIM script

* use new helper to get ENVs for Rspamd in DKIM script

* remove the need for linking directories

This was unnecessary, as explained in
https://github.com/docker-mailserver/docker-mailserver/pull/3597#discussion_r1369413599

* Apply suggestions from code review

review by @polarathene

* apply more review feedback from @polarathene

- <https://github.com/docker-mailserver/docker-mailserver/pull/3599#discussion_r1370885519>
- <https://github.com/docker-mailserver/docker-mailserver/pull/3599#discussion_r1370904201>

* update documentation

---------

Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
2023-10-30 10:20:37 +01:00
..
amavis.bats ci(fix): Normalize for .gitattributes + improve eclint coverage (#3566) 2023-10-04 12:53:32 +02:00
clamav.bats tests: improve _send_email (#3105) 2023-02-24 10:44:18 +01:00
disabled_clamav_spamassassin.bats tests: improve _send_email (#3105) 2023-02-24 10:44:18 +01:00
dnsbl.bats chore(Postfix): disable DNSBLs (#3069) 2023-02-11 00:24:09 +01:00
fail2ban.bats Change 'for' style (#3368) 2023-05-26 14:00:40 +02:00
postgrey_enabled.bats ci: fix ShellCheck linting for BATS tests (#3347) 2023-05-23 14:33:58 +00:00
postscreen.bats ci: fix ShellCheck linting for BATS tests (#3347) 2023-05-23 14:33:58 +00:00
rspamd_dkim.bats misc: final Rspamd adjustments for v13 (#3599) 2023-10-30 10:20:37 +01:00
rspamd_full.bats misc: final Rspamd adjustments for v13 (#3599) 2023-10-30 10:20:37 +01:00
rspamd_partly.bats rspamd: disable checks for authenticated users (#3440) 2023-08-08 10:43:21 +02:00
spam_junk_folder.bats feat: Allow marking spam as read via a sieve filter (ENV MARK_SPAM_AS_READ=1) (#3489) 2023-08-21 10:32:26 +12:00
undef_spam_subject.bats tests(refactor): Improve consistency and documentation for test helpers (#3012) 2023-01-22 00:05:28 +01:00