Need to pass through SPF enable

This commit is contained in:
niten 2024-03-13 11:53:22 -07:00
parent 0a8548decc
commit 6c95ada6e1
1 changed files with 8 additions and 0 deletions

View File

@ -174,6 +174,13 @@ in {
description =
"Directory containing SSL certificates for SMTP hostname.";
};
spf.enable = mkOption {
type = bool;
description =
"Enable Sender Polify Framework checking on incoming messages.";
default = true;
};
};
imap = {
@ -310,6 +317,7 @@ in {
fudo.mail.postfix = {
enable = true;
policy-spf.enable = cfg.smtp.spf.enable;
debug = cfg.debug;
domain = cfg.primary-domain;
local-domains = cfg.extra-domains;