Question about usage and meaing of options with zmtlsctl

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
concept
Posts: 15
Joined: Fri Sep 12, 2014 10:03 pm

Question about usage and meaing of options with zmtlsctl

Post by concept »

zmtlsctl --help

ERROR: account.INVALID_ATTR_VALUE (zimbramailmode must be one of: http,
What">https,both,mixed)
What exactly does zmtlsctl do and what do all the options do?
Thank you
marcmac
Elite member
Elite member
Posts: 2091
Joined: Fri Sep 12, 2014 9:53 pm

Question about usage and meaing of options with zmtlsctl

Post by marcmac »

zmtlsctl
Sets">https>
Sets the mode the web server runs in.
mixed = https login, redirect to original port (eg, if you hit http://, it redirects to https for login then returns to http for session. If you hit https:// originally, the login is in https, and the session is in https).

http|https = http/https for everything.
Stop/start tomcat after running.
concept
Posts: 15
Joined: Fri Sep 12, 2014 10:03 pm

Question about usage and meaing of options with zmtlsctl

Post by concept »

Okay. Now I now this sounds weird, but it seems as though when I select "http" or "both" (and restart tomcat) that it breaks SMTP authentication. Does this command modify anything that could break SMTP authentication (me sending mail through my server from an email program that supplies my username and password for authentication purposes)?
Thank you.
marcmac
Elite member
Elite member
Posts: 2091
Joined: Fri Sep 12, 2014 9:53 pm

Question about usage and meaing of options with zmtlsctl

Post by marcmac »

yes, this can break smtp authentication. If you change the mode, due to a bug, you'll basically need to reset the smtp auth host to the same value it currently has. (I know, but it works)
zmprov gs | grep zimbraMtaAuthHost

zmprov ms zimbraMtaAuthHost
Post Reply