Hi all, I'm essentially at the end of my setup, everything is working, email is sending and receiving correctly. All websites are working including with SSL. The only thing that is wrong is the SSL certificate for the email domains (IMAP connections) and webmail pages. Both are using the [servername] rather than the [domainname] for the SSL certificate. Removing/readding email domains has no effect. Configuration is attached.
There is nothing wrong on the server as the imap connection should be made through the hostname of the server and not a subdomain of a client domain and webmail also runs on the so called apps vhost, which is a vhost for the server hostname. So you just set up your mail client wrong. See: https://www.howtoforge.com/ispconfig-email-account/
Excellent that solved it. Sorry I didn't get that far down on that page. Assumptions... Question: would a CNAME work in place of the [servername] if I made a CNAME for mail.mydomain.ca pointing to [servername]?
No, this won't work for SSL. There are possibilities to get more domains in the main SSL cert as shown here: https://www.howtoforge.com/securing...server-with-a-valid-lets-encrypt-certificate/ But such a solution is limited to small setups as LE does not allow unlimited domains in a cert and if you have fluctuations with domains getting added and removed, then this has the tendency to break on SSL cert renewals if you do not keep it in sync. that's why we have chosen a default setup as used by larger ISP's, where the name you use for imap and smtp server in your mail client is typically a subdomain of the hoster and not of the client.
That makes sense. Thank you. I'm very happy that I have everything running and it only required a few stops and starts. Thank you kindly for your help.