summary refs log tree commit diff stats
path: root/system/services/fail2ban/default.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--system/services/fail2ban/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/system/services/fail2ban/default.nix b/system/services/fail2ban/default.nix
index 66207e6..6d90d49 100644
--- a/system/services/fail2ban/default.nix
+++ b/system/services/fail2ban/default.nix
@@ -25,6 +25,12 @@
         filter = dovecot[mode=aggressive]
         maxretry = 2
       '';
+      postfix = ''
+        enabled = true
+        filter = postfix[mode=aggressive]
+        findtime = 600
+        maxretry = 3
+      '';
     };
   };
 }