feat: Enable sendmail setuid wrapper

This commit is contained in:
sinavir 2024-04-20 20:40:26 +02:00
parent dc341cf611
commit fd6674fd5d

View file

@ -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;