New Feature >>rejectSender<<

Authored by tokudan
This commit is contained in:
Robin Raymond 2018-11-10 14:29:16 +01:00
parent 28cff2497a
commit acd65c0803
2 changed files with 26 additions and 3 deletions

View file

@ -166,6 +166,16 @@ in
default = {};
};
rejectSender = mkOption {
type = types.listOf types.str;
example = [ "@example.com" "spammer@example.net" ];
description = ''
Reject emails from these addresses from unauthorized senders.
Use if a spammer is using the same domain or the same sender over and over.
'';
default = [];
};
rejectRecipients = mkOption {
type = types.listOf types.str;
example = [ "sales@example.com" "info@example.com" ];