ENH: adjust sendmail-whois 'active' example to have also sendername in it

pull/281/head
Yaroslav Halchenko 2013-07-05 10:12:29 -04:00
parent e332efb7cd
commit 04b8069cee
1 changed files with 1 additions and 3 deletions

View File

@ -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