about summary refs log tree commit diff
diff options
context:
space:
mode:
-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