nixos/postfix: make postfix.enableSmtp work again
This fixes issue #104715.
This commit is contained in:
parent
d1ca119619
commit
6216c843ed
@ -834,12 +834,6 @@ in
|
||||
};
|
||||
|
||||
services.postfix.masterConfig = {
|
||||
smtp_inet = {
|
||||
name = "smtp";
|
||||
type = "inet";
|
||||
private = false;
|
||||
command = "smtpd";
|
||||
};
|
||||
pickup = {
|
||||
private = false;
|
||||
wakeup = 60;
|
||||
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user