Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

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.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-06-2007, 10:04 AM
Active Member
 
Posts: 28
Default 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......
Reply With Quote
  #2 (permalink)  
Old 07-06-2007, 10:11 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

The correct command is in the wiki.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 07-06-2007, 10:20 AM
Active Member
 
Posts: 28
Default

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)
Reply With Quote
  #4 (permalink)  
Old 07-06-2007, 10:43 AM
Moderator
 
Posts: 6,237
Default

Quote:
Originally Posted by aletomi View Post
> 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..
Reply With Quote
  #5 (permalink)  
Old 07-06-2007, 10:49 AM
Active Member
 
Posts: 28
Default

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........
Reply With Quote
  #6 (permalink)  
Old 07-06-2007, 11:08 AM
Moderator
 
Posts: 6,237
Default

'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..
Reply With Quote
  #7 (permalink)  
Old 07-06-2007, 11:28 AM
Active Member
 
Posts: 28
Default

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........
Reply With Quote
  #8 (permalink)  
Old 07-06-2007, 08:12 PM
Project Contributor
 
Posts: 252
Default

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,
Reply With Quote
  #9 (permalink)  
Old 07-09-2007, 12:11 PM
Former Zimbran
 
Posts: 5,606
Default

Yeah, that's true. The command should know when the user is asking for help.

Anyone want to file a bug?
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.