| Welcome to the Zimbra :: Forums! | |
Welcome, if you would like to post a comment please register.
We also encourage you to explore all things Zimbra with our team and members of the community.
|  | 
07-06-2007, 10:04 AM
| | | zimbraMailMode problem Hi everyboy.....
I'm using zcs-NETWORK-4.5.6 on RHEL4 and I can't set the zimbraMailMode to both (http or https).... I did the following:
As zimbra user-
> zmtlsctl both
> zmprov -l gs
zimbraMailMode: both
zimbraMailPort: 80
zimbraMailSSLPort: 443
> tomcat restart
> zmprov -l gs
zimbraMailMode: mixed
zimbraMailPort: 80
zimbraMailSSLPort: 443
Why the property value back to the previous setting??.....I did something wrong???.....
Thanks...... | 
07-06-2007, 10:11 AM
| | Zimbra Consultant & Moderator | |
Posts: 20,317
| | The correct command is in the wiki.
__________________
Regards
Bill
| 
07-06-2007, 10:20 AM
| | | Yes but the possibles options that I get from the command are "http,https,both,mixed" (different to the options in the wiki).....
> zmtlsctl -h
ERROR: account.INVALID_ATTR_VALUE (zimbraMailMode must be one of: http,https,both,mixed) | 
07-06-2007, 10:43 AM
| | | Quote:
Originally Posted by aletomi > zmtlsctl -h
ERROR: account.INVALID_ATTR_VALUE (zimbraMailMode must be one of: http,https,both,mixed) | because there really is no help for it Quote:
su zimbra
zmtlsctl http(s)
zmcontrol stop
zmcontrol start
(or tomcat stop/start)
|
Last edited by mmorse; 09-02-2007 at 12:48 AM..
| 
07-06-2007, 10:49 AM
| | | Yes but please check the output of the command zmtlsctl:
ERROR: account.INVALID_ATTR_VALUE (zimbraMailMode must be one of: http,https,both,mixed)
And check the output of the query to the ldap server:
zimbraMailMode: both
zimbraMailPort: 80
zimbraMailSSLPort: 443
'both' seems to be a valid option for the "zmtlsctl" command and the zimbraMailMode attribute........ | 
07-06-2007, 11:08 AM
| | | 'mixed' mode uses HTTPS for logging in and HTTP for normal session traffic
'both' would allow HTTP or HTTPS for the entire session
'http' is HTTP only for the entire session
'https' is HTTPS only for the entire session
Last edited by mmorse; 07-06-2007 at 08:14 PM..
| 
07-06-2007, 11:28 AM
| | | No, I only put "-h" to get the zmtlsctl error message and see the valid values....
Plase, check the first post to see what I did, trying to set the zimbraMailMode value to "both"..........
Regards and sorry if my english is bad........ | 
07-06-2007, 08:12 PM
| | Project Contributor | |
Posts: 252
| | Actually he's right. That command should work for him and the wiki page is incomplete. Otherwise the command help message is wrong.
He adds -h in order to see the command help message.
Thanks, | 
07-09-2007, 12:11 PM
| | Former Zimbran | |
Posts: 5,606
| | Yeah, that's true. The command should know when the user is asking for help.
Anyone want to file a bug? | | Thread Tools | Search this Thread | | | | | Display Modes | Linear Mode | | Why Join? Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.  |