Ubuntu Server 16.04-处理 fail2ban 时遇到错误

Ubuntu Server 16.04-处理 fail2ban 时遇到错误

当我尝试在 Ubuntu Server 16.04 上安装 fail2ban 时

apt-get -install fail2ban

我收到错误消息:“处理 fail2ban 时遇到错误”我已尝试使用这些命令卸载 fail2ban,但当我尝试安装此包时仍然收到此错误消息。

apt-get purge fail2ban
apt-get autoremove
apt-get autoclean
dpkg --configure -a
apt-get dist-upgrade
apt-get -f install
apt-get update
apt-get upgrade

/etc/fail2ban/jail.local

[pureftp]
enabled = true
port = ftp
filter = pureftp
logpath = /var/log/syslog
maxretry = 3

[dovecot-pop3imap]
enabled = true
filter = dovecot-pop3imap
action = iptables-multiport[]name=dovecot-pop3imap, port="pop3,pop3s,imap,imaps", protocol=tcp
logpath = /var/log/mail.log
maxretry = 5

[postfix-sasl]
enabled = true
port = smtp
filter = postfix-sasl
logpath = /var/log/mail.log
maxretry = 3

如果您需要更多信息,请直接询问。
有人能帮我吗?

相关内容