about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNgô Ngọc Đức Huy <huyngo@disroot.org>2024-03-25 15:08:28 +0700
committerNgô Ngọc Đức Huy <huyngo@disroot.org>2024-03-25 15:08:28 +0700
commitd965ede248f5c9bc33153af0ff71cb8e387f3ca7 (patch)
tree24d68671385614e339e195ecd133d6510bcde7f3
parent57e277bf8f147b4e921d2266bd782759560f64e2 (diff)
downloadnixos-conf-d965ede248f5c9bc33153af0ff71cb8e387f3ca7.tar.gz
Add past IPs as well
-rw-r--r--fail2ban.nix2
-rw-r--r--mail.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/fail2ban.nix b/fail2ban.nix
index b8db750..b167ba6 100644
--- a/fail2ban.nix
+++ b/fail2ban.nix
@@ -34,7 +34,7 @@
       maddy = {
         settings = {
           filter = "maddy";
-          # logpath = "/var/log/maddy.log";
+          logpath = "/var/log/maddy.log";
         };
       };
     };
diff --git a/mail.nix b/mail.nix
index 2856d1a..c7d85ee 100644
--- a/mail.nix
+++ b/mail.nix
@@ -44,7 +44,7 @@ in {
           use_helper no
         }
 
-        log syslog
+        log syslog /var/log/maddy.log
 
         storage.imapsql local_mailboxes {
           driver sqlite3