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

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 12-08-2009, 05:18 AM
Junior Member
 
Posts: 9
Default [SOLVED] How to set 'View Mail' button to use https?

I've been trying out the Zimbra Open Source Edition for the past two months or so and despite a few learning curves, I absolutely love it. One of the few remaining issues I have before I deploy it involves the 'View Mail' button in the admin gui console. I needed to run an apache instance on the same server (on port 80), so I disabled Zimbra from listening on port 80 via the 'zmtlsctl https' command (as indicated by ZimbraApache - Zimbra :: Wiki). Now, whenever I try to view a user's email with the 'View Mail' button, I'm redirected to something like:
Code:
http://mail.domain.tld/service/preauth?authtoken=0_586e060e5b8fefed026e91a3c1c9a58162e9856e_69643d33363a65393739326461642d613630382d343034332d393464322d6531363866626536666334623b6578703d31333a313235393936303833383839393b6169643d33363a61653733626365342d303461302d343432392d393137302d3235633264646266613437633b747970653d363a7a696d6272613b&isredirect=1
Where I actually need to be directed to something like this:
Code:
https://mail.domain.tld/service/preauth?authtoken=0_586e060e5b8fefed026e91a3c1c9a58162e9856e_69643d33363a65393739326461642d613630382d343034332d393464322d6531363866626536666334623b6578703d31333a313235393936303833383839393b6169643d33363a61653733626365342d303461302d343432392d393137302d3235633264646266613437633b747970653d363a7a696d6272613b&isredirect=1
Right now, I can hit the 'View Mail' button and manually change the URL to a https one (and it works just fine), but it would be nice for it to automagically work. If I could, I'd also like to do this without some kind of Apache redirect (but I will if I have to). This seems like it would be a common problem, so my apologies in advance if this topic has already been covered in another thread.
Reply With Quote
  #2 (permalink)  
Old 12-08-2009, 07:01 AM
y@w y@w is offline
Moderator
 
Posts: 658
Default

I'm not sure why the View Mail button wouldn't push you to https if that's the only 'mode' configured on your mailbox server, but you can force it per domain by changing the zimbraPublicServiceProtocol for each domain.

Code:
zmprov md domain.com zimbraPublicServiceProtocol https
If you handle a lot of domains, that can be done easily with a bash for loop.
__________________
What a n00b!
Reply With Quote
  #3 (permalink)  
Old 12-09-2009, 05:03 AM
Junior Member
 
Posts: 9
Default

I *think* the problem was I tried to do some of the more advanced sharing of ports between Apache and Zimbra before I decided to completely shut off port 80 for Zimbra. After trying your suggestion y@w and restarting all of the services, it worked like a charm. Thanks so much!
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.