Merge pull request #76 from fsr/fail2ban-mail
fail2ban: setup postfix and dovecot
This commit is contained in:
commit
a8d1444ef9
|
@ -9,6 +9,17 @@
|
||||||
bantime = 25h
|
bantime = 25h
|
||||||
action = iptables-allports[name=fail2banTOR, protocol=all]
|
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