logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: 6ffe15cc9feadecf5e6756cb3db3240fa9eb63c2
parent 85710b026feea51057b05d02390d4d36e5f32bb1
Author: Mark Felder <feld@feld.me>
Date:   Sat,  6 Feb 2021 11:55:25 -0600

Remove No MX lookups setting

This setting defaults to false so the relay host will be used in an MX query so
multiple SMTP servers can be used. gen_smtp code states that all records returned from the
MX query are attempted in order and only a permanent SMTP error will stop the client from
attempting other servers in the list. Connection failures, TLS issues, etc will cause it to
try the next host.

If there is no MX record associated with the relay host, it automatically tries connecting to it
directly.

There is really no reason to expose this to end users. The default value is fine for everyone.

Diffstat:

Mconfig/description.exs7-------
1 file changed, 0 insertions(+), 7 deletions(-)

diff --git a/config/description.exs b/config/description.exs @@ -296,13 +296,6 @@ config :pleroma, :config_description, [ suggestions: [5] }, %{ - group: {:subgroup, Swoosh.Adapters.SMTP}, - key: :no_mx_lookups, - label: "No MX lookups", - type: :boolean, - description: "`Swoosh.Adapters.SMTP` adapter specific setting" - }, - %{ group: {:subgroup, Swoosh.Adapters.Sendgrid}, key: :api_key, label: "API key",