feat: Enable sendmail setuid wrapper
All checks were successful
build configuration / build_web02 (push) Successful in 1m17s
build configuration / build_rescue01 (push) Successful in 1m17s
build configuration / build_storage01 (push) Successful in 1m23s
build configuration / build_vault01 (push) Successful in 1m23s
build configuration / build_compute01 (push) Successful in 1m25s
lint / check (push) Successful in 23s
build configuration / build_web01 (push) Successful in 1m42s
build configuration / push_to_cache (push) Successful in 2m15s

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;