mirror of https://github.com/fail2ban/fail2ban
ENH: adjust sendmail-whois 'active' example to have also sendername in it
parent
e332efb7cd
commit
04b8069cee
|
@ -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 New Issue