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
|
enabled = false
|
||||||
filter = sshd
|
filter = sshd
|
||||||
action = iptables[name=SSH, port=ssh, protocol=tcp]
|
action = iptables[name=SSH, port=ssh, protocol=tcp]
|
||||||
sendmail-whois[name=SSH, dest=you@example.com, sender=fail2ban@example.com]
|
sendmail-whois[name=SSH, dest=you@example.com, sender=fail2ban@example.com, sendername="Fail2Ban"]
|
||||||
# Alternative example:
|
|
||||||
# sendmail-whois[name=SSH, sendername="Fail2Ban - example.com"]
|
|
||||||
logpath = /var/log/sshd.log
|
logpath = /var/log/sshd.log
|
||||||
maxretry = 5
|
maxretry = 5
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue