Skip to content

Commit

Permalink
nixos/postfix: make postfix.enableSmtp work again
Browse files Browse the repository at this point in the history
This fixes issue NixOS#104715.
  • Loading branch information
vkleen committed Nov 23, 2020
1 parent d1ca119 commit 6216c84
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions nixos/modules/services/mail/postfix.nix
Expand Up @@ -834,12 +834,6 @@ in
};

services.postfix.masterConfig = {
smtp_inet = {
name = "smtp";
type = "inet";
private = false;
command = "smtpd";
};
pickup = {
private = false;
wakeup = 60;
Expand Down Expand Up @@ -921,6 +915,12 @@ in
in concatLists (mapAttrsToList mkKeyVal cfg.submissionOptions);
};
} // optionalAttrs cfg.enableSmtp {
smtp_inet = {
name = "smtp";
type = "inet";
private = false;
command = "smtpd";
};
smtp = {};
relay = {
command = "smtp";
Expand Down

0 comments on commit 6216c84

Please sign in to comment.