mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-28 22:08:42 +02:00
chore: disable F2B postfix-sasl
jail
Signed-off-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
This commit is contained in:
parent
b6e5d34cd4
commit
0c6cc875ed
3 changed files with 14 additions and 3 deletions
|
@ -34,6 +34,11 @@ All notable changes to this project will be documented in this file. The format
|
||||||
- Refactored `setup config dkim` (`open-dkim`) ([#4375](https://github.com/docker-mailserver/docker-mailserver/pull/4375))
|
- Refactored `setup config dkim` (`open-dkim`) ([#4375](https://github.com/docker-mailserver/docker-mailserver/pull/4375))
|
||||||
- `setup email list` and the default `ENABLE_QUOTAS=1` ENV now better communicates when config is incompatible ([#4453](https://github.com/docker-mailserver/docker-mailserver/pull/4453))
|
- `setup email list` and the default `ENABLE_QUOTAS=1` ENV now better communicates when config is incompatible ([#4453](https://github.com/docker-mailserver/docker-mailserver/pull/4453))
|
||||||
|
|
||||||
|
### Removed
|
||||||
|
|
||||||
|
- **Fail2Ban**
|
||||||
|
- Removed `postfix-sasl` jail by default as it is covered by `postfix[mode=extra]` already ([#4529](https://github.com/docker-mailserver/docker-mailserver/pull/4529))
|
||||||
|
|
||||||
## [v15.0.2](https://github.com/docker-mailserver/docker-mailserver/releases/tag/v15.0.2)
|
## [v15.0.2](https://github.com/docker-mailserver/docker-mailserver/releases/tag/v15.0.2)
|
||||||
|
|
||||||
### Fixes
|
### Fixes
|
||||||
|
|
|
@ -78,6 +78,15 @@ This following configuration files inside the `docker-data/dms/config/` volume w
|
||||||
[github-file-f2bjail]: https://github.com/docker-mailserver/docker-mailserver/blob/master/config-examples/fail2ban-jail.cf
|
[github-file-f2bjail]: https://github.com/docker-mailserver/docker-mailserver/blob/master/config-examples/fail2ban-jail.cf
|
||||||
[github-file-f2bconfig]: https://github.com/docker-mailserver/docker-mailserver/blob/master/config-examples/fail2ban-fail2ban.cf
|
[github-file-f2bconfig]: https://github.com/docker-mailserver/docker-mailserver/blob/master/config-examples/fail2ban-fail2ban.cf
|
||||||
|
|
||||||
|
### SASL
|
||||||
|
|
||||||
|
The `postfix` jail comes with `mode=extra` by default, which covers SASL login errors for our default SASL provider. Hence, the `postfix-sasl` jail has been disabled. If you switch to another SASL provider (e.g., SASLauthd), you may want to turn the `postfix-sasl` jail back on:
|
||||||
|
|
||||||
|
```ini title="docker-data/dms/config/fail2ban-jail.cf"
|
||||||
|
[postfix-sasl]
|
||||||
|
enabled = true
|
||||||
|
```
|
||||||
|
|
||||||
### Viewing All Bans
|
### Viewing All Bans
|
||||||
|
|
||||||
When just running
|
When just running
|
||||||
|
|
|
@ -29,9 +29,6 @@ enabled = true
|
||||||
# https://github.com/docker-mailserver/docker-mailserver/issues/3256#issuecomment-1511188760
|
# https://github.com/docker-mailserver/docker-mailserver/issues/3256#issuecomment-1511188760
|
||||||
mode = extra
|
mode = extra
|
||||||
|
|
||||||
[postfix-sasl]
|
|
||||||
enabled = true
|
|
||||||
|
|
||||||
# This jail is used for manual bans.
|
# This jail is used for manual bans.
|
||||||
# To ban an IP address use: setup.sh fail2ban ban <IP>
|
# To ban an IP address use: setup.sh fail2ban ban <IP>
|
||||||
[custom]
|
[custom]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue