Actually reject mails sent to system accounts and add respective testcase
This commit is contained in:
parent
55183f5585
commit
30532bbfca
3 changed files with 30 additions and 0 deletions
|
|
@ -112,7 +112,17 @@ in {
|
|||
account will be rejected.
|
||||
'';
|
||||
};
|
||||
|
||||
rejectMessage = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "This account cannot receive emails.";
|
||||
description = ''
|
||||
The message that will be returned to the sender when an email is
|
||||
sent to a system account.
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
config.name = lib.mkDefault name;
|
||||
}));
|
||||
example = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue