I am trying to use my own send-only server to send emails. I am running this SMTP gateway to use TLS because of which the client I use to send emails requires a certificate. I am using a self-signed certificate which is very easily configurable if I use postfix/ssmtp for sending emails but I am not sure how I can use a custom Cert in discourse email client.
Just to get a brief picture in the head:
Discourse —send—mail—> mailgun —send–mail—> user
Discourse —send–mail–> my server running SMTP gateway —relay-mail-using-aws-ses-API—> user