diff options
author | Silas Schöffel <sils@sils.li> | 2024-04-24 09:54:28 +0200 |
---|---|---|
committer | Silas Schöffel <sils@sils.li> | 2024-04-24 09:54:28 +0200 |
commit | 35eb6deec5400b7afadb52ad932120ac89cc2ed6 (patch) | |
tree | dcf9e24eb1a9392f0ad8c4f335b963ec22d6457e /system | |
parent | fix(treewide): move former git-crypted files to correct location (diff) | |
download | nixos-server-35eb6deec5400b7afadb52ad932120ac89cc2ed6.tar.gz nixos-server-35eb6deec5400b7afadb52ad932120ac89cc2ed6.zip |
fix(mail): persist additional state directories
This preserves mail state to prevent running out of memory and thus makes our mailsetup more reliable.
Diffstat (limited to 'system')
-rw-r--r-- | system/impermanence/mods/mail.nix | 12 |
1 files changed, 12 insertions, 0 deletions
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 @@ -25,6 +25,18 @@ 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"; group = "rspamd"; |