Zimbra redirect webmail http to https
After Zimbra mail server installed, webmail work on url
https://SERVER-HOSTNAME-HERE/
If you access webmail with out HTTPS, it won’t work.
To set HTTP to redirect to HTTPS, login to server as root, switch to user zimbra
su - zimbra
Run
zmprov ms SERVER_HOSTNAME_HERE zimbraReverseProxyMailMode redirect
Wait few minutes, HTTP link will redirect to HTTPS.
[root@correo ~]# netstat -lntp | grep 80 tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 22891/java tcp6 0 0 :::7780 :::* LISTEN 24005/httpd [root@correo ~]# su - zimbra Last login: Thu Aug 8 21:33:52 CST 2019 on pts/0 [zimbra@correo ~]$ zmprov ms correo.net.gt zimbraReverseProxyMailMode redirect [zimbra@correo ~]$
You need to wait few minutes before it can start working on HTTPS port, no restart required.
Now netstat shows nginx runs on port 80
[root@correo ~]# netstat -lntp| grep 80 tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 90391/nginx: master tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 22891/java tcp6 0 0 :::7780 :::* LISTEN 24005/httpd [root@correo ~]#
See Zimbra