mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
ENH: adjust sendmail-whois 'active' example to have also sendername in it
This commit is contained in:
parent
e332efb7cd
commit
04b8069cee
1 changed files with 1 additions and 3 deletions
|
|
@ -65,9 +65,7 @@ usedns = warn
|
|||
enabled = false
|
||||
filter = sshd
|
||||
action = iptables[name=SSH, port=ssh, protocol=tcp]
|
||||
sendmail-whois[name=SSH, dest=you@example.com, sender=fail2ban@example.com]
|
||||
# Alternative example:
|
||||
# sendmail-whois[name=SSH, sendername="Fail2Ban - example.com"]
|
||||
sendmail-whois[name=SSH, dest=you@example.com, sender=fail2ban@example.com, sendername="Fail2Ban"]
|
||||
logpath = /var/log/sshd.log
|
||||
maxretry = 5
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue