forked from DGNum/infrastructure
feat: Enable sendmail setuid wrapper
This commit is contained in:
parent
dc341cf611
commit
fd6674fd5d
1 changed files with 4 additions and 1 deletions
|
@ -12,9 +12,12 @@
|
|||
};
|
||||
};
|
||||
config = lib.mkIf config.dgn-notify.enable {
|
||||
services.mail.sendmailSetuidWrapper.group = lib.mkForce "mail";
|
||||
users.groups.mail = { };
|
||||
|
||||
programs.msmtp = {
|
||||
enable = true;
|
||||
setSendmail = false;
|
||||
setSendmail = true;
|
||||
accounts.default = {
|
||||
tls = true;
|
||||
tls_starttls = false;
|
||||
|
|
Loading…
Reference in a new issue