postfix: Support setting options for policyd-spf

This commit is contained in:
Brian Olsen 2018-05-17 02:01:49 +02:00 committed by Ruben Maher
parent 61df799036
commit 88e292c5b7
2 changed files with 15 additions and 11 deletions

View file

@ -454,6 +454,18 @@ in
'';
};
policydSPFExtraConfig = mkOption {
type = types.lines;
default = "";
example = ''
skip_addresses = 127.0.0.0/8,::ffff:127.0.0.0/104,::1
'';
description = ''
Extra configuration options for policyd-spf. This can be use to among
other things skip spf checking for some IP addresses.
'';
};
monitoring = {
enable = mkEnableOption "monitoring via monit";