Allow rejecting mails to selected local addresses from remote systems
This commit is contained in:
parent
1dd394e63f
commit
f613779999
2 changed files with 21 additions and 2 deletions
11
default.nix
11
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue