"hostname was not match with the server certificate"
When I try to send mails using my own mail server, I get the error mentioned here: https://www.redmine.org/projects/redmine/wiki/EmailConfiguration#Error-hostname-was-not-match-with-the-server-certificate
I am pretty sure it is because I use a self signed certificate. The email server has been set up using this guide: https://www.digitalocean.com/community/tutorials/how-to-set-up-a-postfix-e-mail-server-with-dovecot, and it is working perfect.
But redmine is not happy. The "enable_starttls_auto: false" solution does not fix it. It just give me another error (when I send a test email to myself from the admin panel in redmine): "Error sending mail" (in danish) (530 5.7.0 Must issue a STARTTLS command first )
Is there a way to make redmine happy with the self signed certificate?
I don't know if you need to know, but here it is...
Redmine version 3.3.1.stable
Ruby version 2.3.3-p222 (2016-11-21) [arm-linux-gnueabihf]
Rails version 18.104.22.168
Database adapter SQLite
no plugin installed