fail2ban: setup postfix and dovecot
This commit is contained in:
parent
c360abe7d9
commit
0712f02d40
|
@ -9,6 +9,17 @@
|
|||
bantime = 25h
|
||||
action = iptables-allports[name=fail2banTOR, protocol=all]
|
||||
'';
|
||||
dovecot = ''
|
||||
enabled = true
|
||||
# aggressive mode to add blocking for aborted connections
|
||||
filter = dovecot[mode=aggressive]
|
||||
maxretry = 3
|
||||
'';
|
||||
postfix = ''
|
||||
enabled = true
|
||||
filter = postfix[mode=aggressive]
|
||||
maxretry = 3
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue