diff options
author | Daniel Frank <git@danielfrank.net> | 2018-04-15 01:37:30 +0200 |
---|---|---|
committer | Daniel Frank <git@danielfrank.net> | 2018-04-15 01:49:26 +0200 |
commit | f6137799991878acca5205f6a2f31daa3059abfd (patch) | |
tree | 79e28a232f435d624c6f2da0f8f315dee5a0a653 /default.nix | |
parent | 1dd394e63fa15d200faf83988f8fb5f9a54c04c5 (diff) |
Allow rejecting mails to selected local addresses from remote systems
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/default.nix b/default.nix index 5ef87a3..cddb221 100644 --- a/default.nix +++ b/default.nix @@ -166,6 +166,17 @@ in default = {}; }; + rejectRecipients = mkOption { + type = types.listOf types.str; + example = [ "sales@example.com" "info@example.com" ]; + description = '' + Reject emails addressed to these local addresses from unauthorized senders. + Use if a spammer has found email addresses in a catchall domain but you do + not want to disable the catchall. + ''; + default = []; + }; + vmailUID = mkOption { type = types.int; default = 5000; |