1
0
Fork 0
forked from mirrors/akkoma
akkoma/lib/pleroma/emails
Oneric 192480093c Provide sane defaults for SMTP
OTP’s default SSL/TLS settings are rather restricitive
and in particular do not use system CA certs.
In our case using system CA certs is virtually always desired
and the lack of it leads to non-obvious errors. Manually configuring
system CA certs from in-database config also isn’t straightforward.

Furthermore, gen_smtp uses a different set of connection options
for direct SSL/TLS and a later TLS upgrade providing additional
confusion and complexity in how to configure this.

Thus provide some suitable defaults for sending SMTP emails.
Everything can still be overriden by admins if necessary.

Note: defaults are not appended when validating the config
in hopes of improving the error message (as the required relay key
is already accessed to generate defaults for optional fields)

Fixes: https://akkoma.dev/AkkomaGang/akkoma/issues/660
2024-02-12 22:45:57 +01:00
..
admin_email.ex Migrate to phoenix 1.7 (#626) 2023-08-15 10:22:18 +00:00
mailer.ex Provide sane defaults for SMTP 2024-02-12 22:45:57 +01:00
new_users_digest_email.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
user_email.ex Correct email links to be absolute URLs 2023-11-02 11:49:03 +00:00