1
0
mirror of https://github.com/tomav/docker-mailserver.git synced 2024-06-28 04:01:20 +02:00
docker-mailserver/test/tests/parallel/set1/spam_virus
Georg Lauterbach 638975922e
scripts: Rspamd stabilization pt. 1 (#3261)
* added checks whether OpenDKIM/OpenDMARC/policyd-spf are enabled
* added functions to check if VAR is 0/0 or an int

and also added tests.

I also adjusted the test file to not run in a container, because there
is no need. This also decreases test time, which, in turn, increases
maintainers' happiness.

* added more checks to Rspamd setup

I added the helpers from the previous commit to the Rspamd setup to make
the whole setup more robust, and indicate to the user that an ENV
variable's value is incorrect.

While we did not issues for this in the past, I believe it to be
worthwhile for the future.

* added canonical directory for users to place files in

This dir is canonical with DMS's optional configuration dirs, as it
lives in well-known volume mounts. Hence, users will not need to adjust
`/etc/rspamd/override.d` manually anymore, or mount a volume to this
place.

The docs explain this now, but the DKIM page needs a slight update on
this too I guess. I will follow-up here.

* misc minor improvements
* use variables for common directories
2023-04-23 12:22:54 +02:00
..
amavis.bats Update SA_KILL values; follow up to #3058 (#3204) 2023-03-27 01:59:43 +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 tests: improve _send_email (#3105) 2023-02-24 10:44:18 +01:00
postgrey_enabled.bats chore(Postfix): disable DNSBLs (#3069) 2023-02-11 00:24:09 +01:00
postscreen.bats tests: improve _send_email (#3105) 2023-02-24 10:44:18 +01:00
rspamd.bats scripts: Rspamd stabilization pt. 1 (#3261) 2023-04-23 12:22:54 +02:00
spam_junk_folder.bats tests: improve _send_email (#3105) 2023-02-24 10:44:18 +01:00
undef_spam_subject.bats tests(refactor): Improve consistency and documentation for test helpers (#3012) 2023-01-22 00:05:28 +01:00