Move DKIM private key back to file

This commit is contained in:
Veikko Lintujärvi
2025-03-17 19:17:18 +00:00
parent 9a4263e27c
commit 6b3553e908

View File

@@ -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