Merge pull request #104721 from vkleen/postfix-smtp-fix
nixos.postfix: make postfix.enableSmtp work again
This commit is contained in:
commit
58f29d3ca8
@ -834,12 +834,6 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
services.postfix.masterConfig = {
|
services.postfix.masterConfig = {
|
||||||
smtp_inet = {
|
|
||||||
name = "smtp";
|
|
||||||
type = "inet";
|
|
||||||
private = false;
|
|
||||||
command = "smtpd";
|
|
||||||
};
|
|
||||||
pickup = {
|
pickup = {
|
||||||
private = false;
|
private = false;
|
||||||
wakeup = 60;
|
wakeup = 60;
|
||||||
@ -921,6 +915,12 @@ in
|
|||||||
in concatLists (mapAttrsToList mkKeyVal cfg.submissionOptions);
|
in concatLists (mapAttrsToList mkKeyVal cfg.submissionOptions);
|
||||||
};
|
};
|
||||||
} // optionalAttrs cfg.enableSmtp {
|
} // optionalAttrs cfg.enableSmtp {
|
||||||
|
smtp_inet = {
|
||||||
|
name = "smtp";
|
||||||
|
type = "inet";
|
||||||
|
private = false;
|
||||||
|
command = "smtpd";
|
||||||
|
};
|
||||||
smtp = {};
|
smtp = {};
|
||||||
relay = {
|
relay = {
|
||||||
command = "smtp";
|
command = "smtp";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user