NOTE: You need a server with nginx setup to proxy your custom domain to Zoho.
Point your custom domain to the server with nginx installed using DNS A Record
A mail [your-ip-address]
Configure nginx to proxy pass to Zoho
server { listen 80; server_name mail.your-domain.com; location / { proxy_pass https://mail.zoho.com/biz/customlogin?rd=your-domain.com; }
Obtain SSL certificate with Certbot
apt-get install software-properties-common add-apt-repository ppa:certbot/certbot apt-get update apt-get install python-certbot-nginx apt-get install python-certbot-nginx certbot --nginx nginx -t systemctl restart nginx
Wait for DNS changes to propagate.