Support sandboxed opendkim

This commit is contained in:
Antoine Eiche 2020-10-02 13:06:57 +02:00
parent c813f1205f
commit 9d7f02e67b

View File

@ -56,6 +56,7 @@ in
services.opendkim = { services.opendkim = {
enable = true; enable = true;
selector = cfg.dkimSelector; selector = cfg.dkimSelector;
keyPath = cfg.dkimKeyDirectory;
domains = "csl:${builtins.concatStringsSep "," cfg.domains}"; domains = "csl:${builtins.concatStringsSep "," cfg.domains}";
configFile = pkgs.writeText "opendkim.conf" ('' configFile = pkgs.writeText "opendkim.conf" (''
Canonicalization relaxed/simple Canonicalization relaxed/simple