summary refs log tree commit diff stats
path: root/system/impermanence/mods/mail.nix
diff options
context:
space:
mode:
Diffstat (limited to 'system/impermanence/mods/mail.nix')
-rw-r--r--system/impermanence/mods/mail.nix46
1 files changed, 0 insertions, 46 deletions
diff --git a/system/impermanence/mods/mail.nix b/system/impermanence/mods/mail.nix
deleted file mode 100644
index a306ccf..0000000
--- a/system/impermanence/mods/mail.nix
+++ /dev/null
@@ -1,46 +0,0 @@
-{...}: {
-  environment.persistence."/srv".directories = [
-    {
-      directory = "/var/lib/mail/backup";
-      user = "virtualMail";
-      group = "virtualMail";
-      mode = "0700";
-    }
-    {
-      directory = "/var/lib/mail/sieve";
-      user = "virtualMail";
-      group = "virtualMail";
-      mode = "0700";
-    }
-    {
-      directory = "/var/lib/mail/vmail";
-      user = "virtualMail";
-      group = "virtualMail";
-      mode = "0700";
-    }
-    {
-      directory = "/var/lib/mail/dkim";
-      user = "opendkim";
-      group = "opendkim";
-      mode = "0700";
-    }
-    {
-      directory = "/var/lib/postfix/data";
-      user = "postfix";
-      group = "postfix";
-      mode = "0700";
-    }
-    {
-      directory = "/var/lib/postfix/queue";
-      user = "postfix";
-      group = "postfix";
-      mode = "0700";
-    }
-    {
-      directory = "/var/lib/rspamd";
-      user = "rspamd";
-      group = "rspamd";
-      mode = "0700";
-    }
-  ];
-}