Open verymilan opened 5 months ago
update: i was able to change it directly in smtp.ex
for now:
diff --git a/lib/keila/mailings/sender_adapters/smtp.ex b/lib/keila/mailings/sender_adapters/smtp.ex
index ab4a37f..6b61b91 100644
--- a/lib/keila/mailings/sender_adapters/smtp.ex
+++ b/lib/keila/mailings/sender_adapters/smtp.ex
@@ -32,7 +32,8 @@ defmodule Keila.Mailings.SenderAdapters.SMTP do
username: config.smtp_username,
password: config.smtp_password,
auth: :always,
- port: config.smtp_port
+ port: config.smtp_port,
+ no_mx_lookups: true
]
|> maybe_put_tls_opts(config)
end
hope it wont break this time and i'd still like to mention that Keila should not lookup MX records for sending emails. if anything it should be optional.
Hi there, for a deployment of ours, it is required to modify the code in order to set
no_mx_lookups
totrue
. Otherwise Keila tries to send with mailin instead of mailout. Just now we even realize that the issue reoccured again and i wonder if something changed with a recent release... having this as a proper option to configure would be quite helpful. :)It looks like it is set tho, but maybe it does not apply to the configured sender anymore?: