policydSpf -> policydSpfFile...

This commit is contained in:
niten 2023-09-25 09:55:33 -07:00
parent 53be472194
commit ee7261ff5c
1 changed files with 2 additions and 2 deletions

View File

@ -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