Move DKIM key from file to env variable

This commit is contained in:
2025-03-16 21:27:49 +02:00
parent 2f0d028332
commit 9a4263e27c

View File

@@ -77,7 +77,7 @@ if config_env() == :prod do
dkim: [
s: "email",
d: "livonsaarenosuuspuutarha.fi",
private_key: {:pem_plain, File.read!("priv/keys/dkim_private.pem")}
private_key: {:pem_plain, System.get_env("DKIM_KEY")}
],
retries: 2,
no_mx_lookups: false