diff --git a/module.nix b/module.nix index 6919efc..a7b8e23 100644 --- a/module.nix +++ b/module.nix @@ -79,12 +79,15 @@ in fromAddress = "noreply.mastodon@${sp.domain}"; user = "noreply.mastodon"; host = "127.0.0.1"; - port = 25; + port = 587; + # port = 22; passwordFile = "/run/keys/mastodon/email_password"; authenticate = true; }; extraConfig = { - "SMTP_ENABLE_STARTTLS" = "never"; + # "SMTP_ENABLE_STARTTLS" = "never"; + "SMTP_ENABLE_STARTTLS_AUTO" = "true"; + "SMTP_ENABLE_STARTTLS" = "always"; "SMTP_TLS" = "false"; "SMTP_SSL" = "false"; };