Skip to content

Commit

Permalink
Merge pull request #104721 from vkleen/postfix-smtp-fix
Browse files Browse the repository at this point in the history
nixos.postfix: make postfix.enableSmtp work again
  • Loading branch information
peti committed Nov 24, 2020
2 parents 4b610d8 + 6216c84 commit 58f29d3
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 58f29d3

Please sign in to comment.