docker-mailserver/target/scripts/helpers
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
..
database scripts: disallow alias = account (#3270) 2023-04-17 19:22:50 +02:00
accounts.sh scripts: improve shutdown function by making PANIC_STRATEGY obsolete (#3265) 2023-04-18 23:38:46 +02:00
aliases.sh fix: Workaround postconf write settling logic (#2998) 2023-01-13 10:10:58 +13:00
change-detection.sh Remove unusual space from shebang line (#2834) 2022-10-17 10:40:09 +02:00
dns.sh scripts: improve panic helpers (#3155) 2023-03-06 10:06:50 +01:00
error.sh scripts: improve shutdown function by making PANIC_STRATEGY obsolete (#3265) 2023-04-18 23:38:46 +02:00
index.sh scripts: follow up of #3115 (feedback) (#3124) 2023-02-27 23:37:35 +01:00
lock.sh tests(refactor): Adjust mail_changedetector + change detection helpers (#2997) 2023-01-16 20:39:46 +13:00
log.sh Remove unusual space from shebang line (#2834) 2022-10-17 10:40:09 +02:00
network.sh Remove unusual space from shebang line (#2834) 2022-10-17 10:40:09 +02:00
postfix.sh Remove unusual space from shebang line (#2834) 2022-10-17 10:40:09 +02:00
relay.sh Fix several typos (#2990) 2023-01-10 14:13:50 +01:00
ssl.sh fix: TLS setup (self-signed) error message should include SS_CA_CERT (#3168) 2023-03-10 18:25:46 +13:00
utils.sh scripts: Rspamd stabilization pt. 1 (#3261) 2023-04-23 12:22:54 +02:00