Fix DKIM key path
This commit is contained in:
@@ -64,10 +64,6 @@ if config_env() == :prod do
|
|||||||
secret_key_base: secret_key_base
|
secret_key_base: secret_key_base
|
||||||
|
|
||||||
# ## Configuring the mailer
|
# ## 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,
|
config :osuuspuutarha, Osuuspuutarha.Mailer,
|
||||||
adapter: Swoosh.Adapters.SMTP,
|
adapter: Swoosh.Adapters.SMTP,
|
||||||
@@ -81,7 +77,7 @@ if config_env() == :prod do
|
|||||||
dkim: [
|
dkim: [
|
||||||
s: "email",
|
s: "email",
|
||||||
d: "livonsaarenosuuspuutarha.fi",
|
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,
|
retries: 2,
|
||||||
no_mx_lookups: false
|
no_mx_lookups: false
|
||||||
|
|||||||
Reference in New Issue
Block a user