1
0
mirror of https://github.com/tomav/docker-mailserver.git synced 2024-06-28 12:11:32 +02:00
docker-mailserver/target/scripts/startup/setup.d
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
..
security scripts: Rspamd stabilization pt. 1 (#3261) 2023-04-23 12:22:54 +02:00
dmarc_dkim_spf.sh scripts: misc improvements (#3281) 2023-04-23 12:16:53 +02:00
dovecot.sh scripts: improve shutdown function by making PANIC_STRATEGY obsolete (#3265) 2023-04-18 23:38:46 +02:00
fetchmail.sh scripts: housekeeping & cleanup setup (2/2) (#3123) 2023-02-28 10:25:23 +01:00
ldap.sh scripts: split setup-stack.sh (#3115) 2023-02-26 11:42:14 +01:00
log.sh scripts: touchups for v12.0.0 (#3144) 2023-03-04 10:57:42 +01:00
mail_state.sh fix: SRS setup (#3158) 2023-03-12 12:10:45 +01:00
networking.sh scripts: improve shutdown function by making PANIC_STRATEGY obsolete (#3265) 2023-04-18 23:38:46 +02:00
postfix.sh scripts: fix setting SRS_EXCLUDE_DOMAINS during startup (#3271) 2023-04-18 17:07:08 +02:00
saslauthd.sh scripts: split setup-stack.sh (#3115) 2023-02-26 11:42:14 +01:00