From 35eb6deec5400b7afadb52ad932120ac89cc2ed6 Mon Sep 17 00:00:00 2001 From: Silas Schöffel Date: Wed, 24 Apr 2024 09:54:28 +0200 Subject: fix(mail): persist additional state directories This preserves mail state to prevent running out of memory and thus makes our mailsetup more reliable. --- system/impermanence/mods/mail.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'system') diff --git a/system/impermanence/mods/mail.nix b/system/impermanence/mods/mail.nix index 18151ad..0df4685 100644 --- a/system/impermanence/mods/mail.nix +++ b/system/impermanence/mods/mail.nix @@ -24,6 +24,18 @@ group = "opendkim"; mode = "0700"; } + { + directory = "/var/lib/postifx/data"; + user = "postifx"; + group = "postifx"; + mode = "0700"; + } + { + directory = "/var/lib/postifx/queue"; + user = "postifx"; + group = "postifx"; + mode = "0700"; + } { directory = "/var/lib/rspamd"; user = "rspamd"; -- cgit 1.4.1