fix port redirection problem Zimbra change password redirect port 8443 to 443

5/5 - (1 vote)

Zimbra change password redirect port 8443 to 443? Why do you need to do that? And how to do it?

In Zimbra mail, when the user clicks on the Change Password menu. Another window will appear for users to change their password.

Zimbra change password redirect port 8443 to 443

However, this service window runs on port 8443. Most administrators of Zimbra mail system will not open this port because the fewer ports you open, the better.

So what to do? In order for the service to run normally, we will redirect this service to port 443 along with the web port.

First, you switch to user Zimbra.

su - zimbra

There will be 2 ways to do it here.

One, you want to set up Global, which will apply to all domains in the mail system. Change yourdomain.com to match your system.

zmprov mcf zimbraPublicServiceHostname mail.yourdomain.com
zmprov mcf zimbraPublicServicePort 443
zmprov mcf zimbraPublicServiceProtocol https
zmcontrol restart

Two, you just want to set up for a domain only.

zmprov md yourdomain.com zimbraPublicServiceHostname mail.yourdomain.com
zmprov md yourdomain.com zimbraPublicServiceProtocol https
zmprov md yourdomain.com zimbraPublicServicePort 443
zmcontrol restart

I prefer to use the second way. Because, in fact, the mail system can run a lot of domains and the Global setup often carries more risks.