Is it possible in Carbonio to leave the http and https port open? I'm searching to configure this but I can't find it. It's possible?
What's your use case? Carbonio AFAIK does not need to use port 80.
Sure it is. Run:
zmprov ms `zmhostname` zimbraReverseProxyMailMode both zmcontrol restart
Hi,
As Stefano mentioned, Carbonio CE operates on HTTPS. But in some cases, the service may require to be accessed on port 80. In that case, you can set ReverseProxyMailMode to REDIRECT.
Default value of ReverseProxyMailMode:(When Carbonio CE only accepts HTTPS connection )
zextras@mail:~$ carbonio prov gs mail.sampleserver.xyz | grep -i ReverseProxyMailMode zimbraReverseProxyMailMode: https zextras@mail:~$
Redirect mode of ReverseProxyMailMode:(When Carbonio CE accepts both HTTP and HTTPS connection )
zextras@mail:~$ carbonio prov ms mail.sampleserver.xyz zimbraReverseProxyMailMode redirect zextras@mail:~$ zextras@mail:~$ zmproxyctl restart
For your reference, if you want to know what values are available for an attribute(i.e. zimbraReverseproxyMailMode) you can check like this:
root@mail:~# cat /opt/zextras/conf/attrs/attrs.xml | grep -i reverseproxymailmode <attr id="685" name="zimbraReverseProxyMailMode" type="enum" value="https,redirect" cardinality="single" optionalIn="globalConfig,server" flags="serverInherited" requiresRestart="nginxproxy" since="5.0.7"> root@mail:~#
Hope it helps.
Thanks
Sharif
Let me fix this answer because it's no longer working. Now when I run this command, I get this output:
ERROR: account.INVALID_ATTR_VALUE (zimbraReverseProxyMailMode must be one of: https,redirect)
So it seems there are only this two options: https and redirect
In most cases redirect will work fine redirecting all connections from port 80 to 443.
@sharif great answer... I'm sorry if I kinda duplicate it... I didn't see yours when I sent mine.
As Stefano mentioned, Carbonio CE operates on HTTPS. But in some cases, the service may require to be accessed on port 80. In that case, you can set ReverseProxyMailMode to REDIRECT.