BF: forgot to define sender in jail.conf
Yaroslav Halchenko
10 years ago
64 | 64 | # |
65 | 65 | # Name of the sender for mta actions |
66 | 66 | sendername = Fail2Ban |
67 | ||
68 | # Email address of the sender | |
69 | sender = fail2ban@localhost | |
67 | 70 | |
68 | 71 | # |
69 | 72 | # ACTIONS |
532 | 535 | filter = sshd |
533 | 536 | action = iptables[name=SSH, port=ssh, protocol=tcp] |
534 | 537 | sendmail-whois[name=SSH, dest="%(destemail)s", sender="%(sender)s", sendername="%(sendername)s"] |
535 | blocklist_de[email="%(sender)s", apikey="xxxxxx", service=%(filter)s] | |
538 | blocklist_de[email="%(sender)s", apikey="xxxxxx", service="%(filter)s"] | |
536 | 539 | logpath = /var/log/sshd.log |
537 | 540 | maxretry = 20 |
538 | 541 |