summary refs log tree commit diff stats
path: root/system/impermanence/mods/mail.nix
blob: fc21ce73b4e264799fce5f2124fbbf66522fafe0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{...}: {
  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";
    }
  ];
}