diff --git a/modules/homelab/postfix/default.nix b/modules/homelab/postfix/default.nix index bc4e7c7..0379c74 100644 --- a/modules/homelab/postfix/default.nix +++ b/modules/homelab/postfix/default.nix @@ -61,9 +61,8 @@ in { services.postfix = { enable = true; settings.main = { - relayHost = ["smtp.gmail.com:${toString cfg.port}"]; - smtp_use_tls = "yes"; - smtp_tls_security_level = "encrypt"; + relayhost = ["smtp.gmail.com:${toString cfg.port}"]; + smtp_tls_security_level = "may"; smtp_sasl_auth_enable = "yes"; smtp_sasl_security_options = "noanonymous"; smtp_sasl_password_maps = "texthash:${config.sops.secrets."postfix_passwd".path}";