I will explain. Webmail hosted by apache/nginx/webserver, so if you want to use ssl, you must add your domain or subdomain to webserver and request SSL
Except, server hostname already manual request SSL by special command and have pointer SSL location. but it's only work with server hostname...