Results 1 to 3 of 3

Thread: [SOLVED] How to set 'View Mail' button to use https?

  1. #1
    kinux is offline Junior Member
    Join Date
    Dec 2009
    Posts
    9
    Rep Power
    5

    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.

  2. #2
    y@w's Avatar
    y@w
    y@w is offline Moderator
    Join Date
    Jan 2008
    Posts
    658
    Rep Power
    8

    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.

  3. #3
    kinux is offline Junior Member
    Join Date
    Dec 2009
    Posts
    9
    Rep Power
    5

    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!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 7
    Last Post: 02-03-2011, 07:01 AM
  2. server dropped connection
    By ferra in forum Installation
    Replies: 20
    Last Post: 10-06-2008, 04:32 PM
  3. zmamavisdctl stopped and won't restart
    By alto in forum Installation
    Replies: 2
    Last Post: 04-18-2008, 12:41 AM
  4. Replies: 20
    Last Post: 03-18-2008, 05:37 AM
  5. [SOLVED] Upgraded to 5.0 OSS - Sendmail Problem
    By Chewie71 in forum Installation
    Replies: 11
    Last Post: 12-28-2007, 07:07 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •