From 97fe07c9611ea860bdd8525df960acedaf06ad36 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Wed, 22 Jan 2020 22:53:24 +0100 Subject: [PATCH] Update prod.exs --- conf/prod.exs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/conf/prod.exs b/conf/prod.exs index d87d58d..63019d6 100644 --- a/conf/prod.exs +++ b/conf/prod.exs @@ -27,9 +27,9 @@ config :mobilizon, Mobilizon.Storage.Repo, config :mobilizon, MobilizonWeb.Email.Mailer, adapter: Bamboo.SMTPAdapter, - server: "localhost", - hostname: "localhost", - port: 587, + server: "127.0.0.1", + hostname: "127.0.0.1", + port: 465, # or {:system, "SMTP_USERNAME"} username: nil, # or {:system, "SMTP_PASSWORD"} @@ -42,7 +42,8 @@ config :mobilizon, MobilizonWeb.Email.Mailer, ssl: false, retries: 1, # can be `true` - no_mx_lookups: false + no_mx_lookups: false, + auth: :never # Do not print debug messages in production #config :logger, level: System.get_env("MOBILIZON_LOGLEVEL") |> String.to_atom() || :info