/etc/fail2ban/jail.local 内容如下:
```
[DEFAULT]
destemail = root
sender = root
mta = mail
action = %(action_mwl)s
```
/etc/fail2ban/action.d/mail-whois-lines.conf 中 actionstart 、actionstop 、actionban 均不为空,且都有 mail 命令
Ubuntu 系统,已安装 mail ,很奇怪的是,重启 fail2ban ,可以收到 stop 提醒,但是没有 start 提醒,且 /var/log/fail2ban.log 中有看到 ban 了 ip ,也没有 ban 提醒。
请问下给位,还有哪里配置不对导致的吗?
```
[DEFAULT]
destemail = root
sender = root
mta = mail
action = %(action_mwl)s
```
/etc/fail2ban/action.d/mail-whois-lines.conf 中 actionstart 、actionstop 、actionban 均不为空,且都有 mail 命令
Ubuntu 系统,已安装 mail ,很奇怪的是,重启 fail2ban ,可以收到 stop 提醒,但是没有 start 提醒,且 /var/log/fail2ban.log 中有看到 ban 了 ip ,也没有 ban 提醒。
请问下给位,还有哪里配置不对导致的吗?