镜像自地址
https://github.com/mail-in-a-box/mailinabox.git
已同步 2026-03-25 19:17:22 +01:00
added script which automatically adds IP addresses which have been reported to be attacking other servers. It will update the IPTables automatically everyday, as well as perform the initial run the first day. As mentioned in #864 on the origin
这个提交包含在:
@@ -304,3 +304,8 @@ cp conf/fail2ban/miab-postfix-submission.conf /etc/fail2ban/filter.d/miab-postfi
|
|||||||
cp conf/fail2ban/miab-roundcube.conf /etc/fail2ban/filter.d/miab-roundcube.conf
|
cp conf/fail2ban/miab-roundcube.conf /etc/fail2ban/filter.d/miab-roundcube.conf
|
||||||
|
|
||||||
restart_service fail2ban
|
restart_service fail2ban
|
||||||
|
|
||||||
|
# Add Blocklist.de malicious IP Addresses to Daily Crontab
|
||||||
|
curl -s https://gist.githubusercontent.com/klepsydra/ecf975984b32b1c8291a/raw > /etc/cron.daily/sync-fail2ban
|
||||||
|
chmod a+x /etc/cron.daily/sync-fail2ban
|
||||||
|
time /etc/cron.daily/sync-fail2ban
|
||||||
|
|||||||
在新工单中引用
屏蔽一个用户