@kirby @Inginsub
Either that or find a way to supply up-to-date root certs to the Elixir module that is used to send emails — I'm not knowledgeable enough about it to help.
If you use Proton, this might work for you, this is what I use: https://github.com/emersion/hydroxide
It's easy to set up, but I'm not sure it's a good idea to run it on your VPS as it would have access to all your emails, at least make sure it accepts connections on localhost only.
@kirby @Inginsub
Another solution might be using sendmail adapter with msmtp — I've never used this setup myself, but check it out, might be easier to pull off than both: working with remote SMTP as is and setting up your own SMTP server to run locally. msmtp uses systemwide certs in /etc/ssl — so this shouldn't be a problem, you need a very basic .msmtprc: host, port, from, user — you can specify password right in it, or put it in .netrc