From b752d41ae084f7baf91496de3ae15129cb29ab02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Veikko=20Lintuj=C3=A4rvi?= Date: Sun, 16 Mar 2025 21:09:40 +0200 Subject: [PATCH] Fix DKIM key path --- config/runtime.exs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/config/runtime.exs b/config/runtime.exs index 089aaa6..7cf1fa7 100644 --- a/config/runtime.exs +++ b/config/runtime.exs @@ -64,10 +64,6 @@ if config_env() == :prod do secret_key_base: secret_key_base # ## Configuring the mailer - # - # In production you need to configure the mailer to use a different adapter. - # Also, you may need to configure the Swoosh API client of your choice if you - # are not using SMTP. Here is an example of the configuration: config :osuuspuutarha, Osuuspuutarha.Mailer, adapter: Swoosh.Adapters.SMTP, @@ -81,7 +77,7 @@ if config_env() == :prod do dkim: [ s: "email", d: "livonsaarenosuuspuutarha.fi", - private_key: {:pem_plain, File.read!("priv/keys/domain.private")} + private_key: {:pem_plain, File.read!("priv/keys/dkim_private.pem")} ], retries: 2, no_mx_lookups: false