docker-mailserver/target/scripts/startup
Brennan Kinney 3d8cfc5b5a
chore: Remove wrapper script for fail2ban service (#3032)
* chore: Remove the wrapper script for `fail2ban`

- This does not appear necessary. The server can be run with foreground mode.
- `daemons-stack.sh` removal of the socket can be handled by the fail2ban server when using the `-x` option.

* chore: Remove `touch /var/log/auth.log`

These were both added as supposed fixes in 2016 for the then Ubuntu 2014 base image.

Removing them causes no failures in tests.

* fix: Install optional python packages for `fail2ban`

These have barely any overhead in layer weight. The DNS package may provide some QoL improvements, while the `pyinotify` is a better alternative than polling logs to check for updates.

We have `gamin` package installed but `fail2ban` would complain in the log that it was not able to initialize the module for it. There only appears to be a `python-gamin` dependent on EOL python 2, no longer available from Debian Bullseye.
2023-01-29 12:35:57 +00:00
..
check-stack.sh Remove unusual space from shebang line (#2834) 2022-10-17 10:40:09 +02:00
daemons-stack.sh chore: Remove wrapper script for fail2ban service (#3032) 2023-01-29 12:35:57 +00:00
fixes-stack.sh fix: Ensure state persisted to /var/mail-state retains correct group (#3011) 2023-01-25 12:53:47 +13:00
misc-stack.sh feature: provide better rspamd suppport (#3016) 2023-01-25 10:28:59 +01:00
setup-stack.sh feature: provide better rspamd suppport (#3016) 2023-01-25 10:28:59 +01:00