文件操作 - kerio.conf
返回文件管理
返回主菜单
删除本文件
文件: /etc/fail2ban/filter.d/kerio.conf
编辑文件内容
# Fail2ban filter for kerio [Definition] failregex = ^ SMTP Spam attack detected from <HOST>, ^ IP address <HOST> found in DNS blacklist ^ Relay attempt from IP address <HOST> ^ Attempt to deliver to unknown recipient \S+, from \S+, IP address <HOST>$ ^ Failed SMTP login from <HOST> ^ SMTP: User \S+ doesn't exist. Attempt from IP address <HOST> ^ Client with IP address <HOST> has no reverse DNS entry, connection rejected before SMTP greeting$ ^ Administration login into Web Administration from <HOST> failed: IP address not allowed$ ^ Message from IP address <HOST>, sender \S+ rejected: sender domain does not exist$ ignoreregex = datepattern = ^\[%%d/%%b/%%Y %%H:%%M:%%S\] # DEV NOTES: # # Author: A.P. Lawrence # Updated by: M. Bischoff <https://github.com/herrbischoff> # # Based off: http://aplawrence.com/Kerio/fail2ban.html
修改文件时间
将文件时间修改为当前时间的前一年
删除文件