文件操作 - courier-smtp.conf
返回文件管理
返回主菜单
删除本文件
文件: /etc/fail2ban/filter.d/courier-smtp.conf
编辑文件内容
# Fail2Ban filter to block relay attempts though a Courier smtp server # # [INCLUDES] # Read common prefixes. If any customizations available -- read them from # common.local before = common.conf [Definition] _daemon = courieresmtpd prefregex = ^%(__prefix_line)serror,relay=<HOST>,(?:port=\d+,)?<F-CONTENT>.+</F-CONTENT>$ failregex = ^[^:]*: 550 User (<.*> )?unknown\.?$ ^msg="535 Authentication failed\.",cmd:( AUTH \S+)?( [0-9a-zA-Z\+/=]+)?(?: \S+)$ ignoreregex = # Author: Cyril Jaquier
修改文件时间
将文件时间修改为当前时间的前一年
删除文件