nixos/opensmtpd: Add missing brackets in config (#138989)
* nixos/opensmtpd: Add missing brackets in config Without this commit, you end up missing the sendmail suid wrapper, because the "program" attribute would not override the right thing. * Update nixos/modules/services/mail/opensmtpd.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
586247ebaf
commit
d30701f2f1
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
services.mail.sendmailSetuidWrapper = mkIf cfg.setSendmail
|
services.mail.sendmailSetuidWrapper = mkIf cfg.setSendmail
|
||||||
security.wrappers.smtpctl // { program = "sendmail"; };
|
(security.wrappers.smtpctl // { program = "sendmail"; });
|
||||||
|
|
||||||
systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
"d /var/spool/smtpd 711 root - - -"
|
"d /var/spool/smtpd 711 root - - -"
|
||||||
|
|
Loading…
Reference in a new issue