Just...use the socket option FFS
This commit is contained in:
parent
7112e4722a
commit
98eff8478d
2
dkim.nix
2
dkim.nix
|
@ -42,6 +42,7 @@ in {
|
||||||
services.opendkim = {
|
services.opendkim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
selector = cfg.selector;
|
selector = cfg.selector;
|
||||||
|
socket = "niten:${toString cfg.port}";
|
||||||
domains = let domainString = concatStringsSep "," cfg.domains;
|
domains = let domainString = concatStringsSep "," cfg.domains;
|
||||||
in "csl:${domainString}";
|
in "csl:${domainString}";
|
||||||
configFile = let
|
configFile = let
|
||||||
|
@ -52,7 +53,6 @@ in {
|
||||||
'';
|
'';
|
||||||
in pkgs.writeText "opendkim.conf" ''
|
in pkgs.writeText "opendkim.conf" ''
|
||||||
Canonicalization relaxed/simple
|
Canonicalization relaxed/simple
|
||||||
Socket inet:${toString cfg.port}
|
|
||||||
${optionalString cfg.debug debugString}
|
${optionalString cfg.debug debugString}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue