'hostname "mail.domain.tld" does not match the server certificate' :: SNI support? & how to query cert from Discourse container?

I’m really glad you pointed that out, I’d not seen this option anywhere and wish I’d known about the this from the get-go. Might be a good idea to add this info to the installation instructions or perhaps even mention it within the app.yaml as something to consider when setting up the email section.

I did ask for some input there as well for some additional clarity given my scenario. Please feel free to chime in.