about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNgô Ngọc Đức Huy <huyngo@disroot.org>2024-03-25 15:10:51 +0700
committerNgô Ngọc Đức Huy <huyngo@disroot.org>2024-03-25 15:10:51 +0700
commit2df08459fab651912e9c6860b9b261f4c50ce0b8 (patch)
tree372e2a5432c0947d3f6db43568f44f260be5a151
parentd965ede248f5c9bc33153af0ff71cb8e387f3ca7 (diff)
downloadnixos-conf-2df08459fab651912e9c6860b9b261f4c50ce0b8.tar.gz
Fix mail log path
-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 b167ba6..9aaa2e2 100644
--- a/fail2ban.nix
+++ b/fail2ban.nix
@@ -34,7 +34,7 @@
       maddy = {
         settings = {
           filter = "maddy";
-          logpath = "/var/log/maddy.log";
+          logpath = "/var/log/maddy/maddy.log";
         };
       };
     };
diff --git a/mail.nix b/mail.nix
index c7d85ee..edb5da0 100644
--- a/mail.nix
+++ b/mail.nix
@@ -44,7 +44,7 @@ in {
           use_helper no
         }
 
-        log syslog /var/log/maddy.log
+        log syslog /var/log/maddy/maddy.log
 
         storage.imapsql local_mailboxes {
           driver sqlite3