docker-mailserver/test/tests/parallel/set3/scripts
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
..
changedetector.bats ci: move tests than can be run in parallel now (#3038) 2023-01-30 09:19:47 +01:00
helper_functions.bats scripts: Rspamd stabilization pt. 1 (#3261) 2023-04-23 12:22:54 +02:00
replace_by_env_in_file.bats removal: configomat (submodule) (#3045) 2023-02-05 12:39:05 +01:00
setup_cli.bats Image registry and setup update (#3233) 2023-04-10 11:37:25 +02:00