From 6b3553e90883551526d448599d5ff39865b1dac6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Veikko=20Lintuj=C3=A4rvi?= Date: Mon, 17 Mar 2025 19:17:18 +0000 Subject: [PATCH] Move DKIM private key back to file --- config/runtime.exs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/runtime.exs b/config/runtime.exs index 0ff8417..d158e62 100644 --- a/config/runtime.exs +++ b/config/runtime.exs @@ -75,9 +75,9 @@ if config_env() == :prod do auth: :never, port: 25, dkim: [ - s: "email", + s: "default", d: "livonsaarenosuuspuutarha.fi", - private_key: {:pem_plain, System.get_env("DKIM_KEY")} + private_key: {:pem_plain, File.read!("/var/www/osuuspuutarha/priv/keys/dkim_private.pem")} ], retries: 2, no_mx_lookups: false