Ansible config for hetzner mailserver

This commit is contained in:
Ruben Hensen
2026-03-14 22:24:53 +01:00
parent bc2f75294d
commit 2a3bfb5d1a
30 changed files with 775 additions and 0 deletions
@@ -0,0 +1,18 @@
---
fail2ban_bantime: "1h"
fail2ban_findtime: "10m"
fail2ban_maxretry: 5
fail2ban_jails:
- name: sshd
enabled: true
port: "{{ ssh_port | default(22) }}"
maxretry: 3
bantime: "1h"
- name: stalwart-auth
enabled: true
port: "25,465,587,993,443"
maxretry: 5
bantime: "1h"
logpath: "/opt/stalwart/logs/stalwart.log*"
filter: stalwart-auth