fix postfix
This commit is contained in:
@@ -60,8 +60,7 @@ in {
|
|||||||
# enable the ${service} service
|
# enable the ${service} service
|
||||||
services.postfix = {
|
services.postfix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
relayHost = "smtp.gmail.com";
|
settings.main.relayHost = ["smtp.gmail.com:${toString cfg.port}"];
|
||||||
relayPort = cfg.port;
|
|
||||||
config = {
|
config = {
|
||||||
#smtp_use_tls = "yes";
|
#smtp_use_tls = "yes";
|
||||||
smtp_tls_security_level = "may";
|
smtp_tls_security_level = "may";
|
||||||
|
|||||||
Reference in New Issue
Block a user