I’m on Ubuntu 20.04 with exim4 etc. The mail server is working, but I can’t seem to get the SSL stuff going. I’ve tried using my main hostname (i.e the domain where my Hestia CP is loaded, but on normal HTTP/SSL port), and that works fine for http/https. But I can’t get it to work. So a couple of questions:
How can I get SSL for domains (i.e a hosted domain), which is setup using LE just fine for the web side - so actually work for emails as well? I could have sworn there used to be an option for it - but I can’t find it
How can I get SSL setup for the main server domain (i.e what I have in /etc/hostname), so that Ic an also use that for connecting?
1.) edit mail domain, tick the ssl checkbox and generate one. then use mail.domain.tld for incoming and outgoing mails.
2.) set a proper a record for your hostname, then run v-add-letsencrypt-host
Thanks for the ridiculously fast reply When I try and set that up for the main domain (which is hosted on the “admin” account), I can’t actually add a mail domain to do that:
Cert Hostname DOES NOT VERIFY (mail.north.xxx.com != north.xxx.com | DNS:north.xxxcom)
So email is encrypted but the host is not verified
I’m wondering if that has something to do with the MX record I had in the nameserver as Linode. It was set as mail.north.xxx.com). I’ve updated that so will see if that helps
Ah I didn’t think about putting the mail domain under a new user… duh! (I assumed because the north.xxx.com domain was under “admin”, it would only allow a mail domain under that account)