policydSpf -> policydSpfFile...
This commit is contained in:
parent
53be472194
commit
ee7261ff5c
|
@ -458,7 +458,7 @@ in {
|
||||||
# See: http://www.postfix.org/smtp.8.html
|
# See: http://www.postfix.org/smtp.8.html
|
||||||
lmtp.args = [ "flags=DO" ];
|
lmtp.args = [ "flags=DO" ];
|
||||||
policy-spf = let
|
policy-spf = let
|
||||||
policySpfFile = pkgs.writeText "policyd-spf.conf"
|
policydSpfFile = pkgs.writeText "policyd-spf.conf"
|
||||||
(cfg.postfix.policy-spf.extraConfig
|
(cfg.postfix.policy-spf.extraConfig
|
||||||
+ (lib.optionalString cfg.debug "debugLevel = 4"));
|
+ (lib.optionalString cfg.debug "debugLevel = 4"));
|
||||||
in {
|
in {
|
||||||
|
@ -469,7 +469,7 @@ in {
|
||||||
args = [
|
args = [
|
||||||
"user=nobody"
|
"user=nobody"
|
||||||
"argv=${pkgs.pypolicyd-spf}/bin/policyd-spf"
|
"argv=${pkgs.pypolicyd-spf}/bin/policyd-spf"
|
||||||
"${policydSpf}"
|
"${policydSpfFile}"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
submission-header-cleanup = let
|
submission-header-cleanup = let
|
||||||
|
|
Loading…
Reference in New Issue