add postfix aggressive jail

This commit is contained in:
KiekerJan 2022-09-04 20:57:50 +02:00
parent 197a142043
commit a8aa3675bc
1 changed files with 15 additions and 2 deletions

View File

@ -27,5 +27,18 @@ mode = errors
filter = miab-postfix-rdnsfail[mode=errors] filter = miab-postfix-rdnsfail[mode=errors]
logpath = /var/log/mail.log logpath = /var/log/mail.log
maxretry = 4 maxretry = 4
findtime = 1d findtime = 2d
bantime = 1h bantime = 2h
# aggressive filter against ddos etc
[postfix-aggressive]
enabled = true
mode = aggressive
filter = postfix[mode=aggressive]
port = smtp,465,submission
logpath = %(postfix_log)s
backend = %(postfix_backend)s
maxretry = 100
findtime = 15m
bantime = 1h