add explicit catchAlls #49

This commit is contained in:
Robin Raymond 2017-12-18 12:26:54 +01:00
parent 03bdc59c06
commit fc9b63f0e6
2 changed files with 20 additions and 2 deletions

View file

@ -69,6 +69,15 @@ in
'';
};
catchAll = mkOption {
type = with types; listOf (enum cfg.domains);
example = ["example.com" "example2.com"];
default = [];
description = ''
For which domains should this account act as a catch all?
'';
};
sieveScript = mkOption {
type = with types; nullOr lines;
default = null;
@ -141,7 +150,7 @@ in
"abuse@example.com" = "user1@example.com";
};
description = ''
Alias for extraVirtualAliases.
Alias for extraVirtualAliases. Deprecated.
'';
default = {};
};