Need to pass through SPF enable
This commit is contained in:
parent
0a8548decc
commit
6c95ada6e1
|
@ -174,6 +174,13 @@ in {
|
||||||
description =
|
description =
|
||||||
"Directory containing SSL certificates for SMTP hostname.";
|
"Directory containing SSL certificates for SMTP hostname.";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
spf.enable = mkOption {
|
||||||
|
type = bool;
|
||||||
|
description =
|
||||||
|
"Enable Sender Polify Framework checking on incoming messages.";
|
||||||
|
default = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
imap = {
|
imap = {
|
||||||
|
@ -310,6 +317,7 @@ in {
|
||||||
|
|
||||||
fudo.mail.postfix = {
|
fudo.mail.postfix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
policy-spf.enable = cfg.smtp.spf.enable;
|
||||||
debug = cfg.debug;
|
debug = cfg.debug;
|
||||||
domain = cfg.primary-domain;
|
domain = cfg.primary-domain;
|
||||||
local-domains = cfg.extra-domains;
|
local-domains = cfg.extra-domains;
|
||||||
|
|
Loading…
Reference in New Issue