fix postfix hopefully
This commit is contained in:
@@ -61,9 +61,8 @@ in {
|
|||||||
services.postfix = {
|
services.postfix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.main = {
|
settings.main = {
|
||||||
relayHost = ["smtp.gmail.com:${toString cfg.port}"];
|
relayhost = ["smtp.gmail.com:${toString cfg.port}"];
|
||||||
smtp_use_tls = "yes";
|
smtp_tls_security_level = "may";
|
||||||
smtp_tls_security_level = "encrypt";
|
|
||||||
smtp_sasl_auth_enable = "yes";
|
smtp_sasl_auth_enable = "yes";
|
||||||
smtp_sasl_security_options = "noanonymous";
|
smtp_sasl_security_options = "noanonymous";
|
||||||
smtp_sasl_password_maps = "texthash:${config.sops.secrets."postfix_passwd".path}";
|
smtp_sasl_password_maps = "texthash:${config.sops.secrets."postfix_passwd".path}";
|
||||||
|
|||||||
Reference in New Issue
Block a user