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 01-14-2012, 07:55 PM
Junior Member
 
Posts: 6
Default ZCS 7.1.4 view user email

Hi ,

I Just upgrade from zcs 7.1.3 OSS to 7.1.4 OSS and I have one problem that now from administrator console when we click view user account mail , it cannot redirect to user account , just show login screen .
Is that I miss something from upgrade procedure?

Regards,
oktamaxi
Reply With Quote
  #2 (permalink)  
Old 01-16-2012, 06:50 AM
Senior Member
 
Posts: 71
Default

Seems to be a bug. I have the same after upgrading
Since I just did a migration I need to go to the user mailboxes and am blocked now... very bad!

I file a support call as I am NE user...

Quote:
Originally Posted by oktamaxi View Post
Hi ,

I Just upgrade from zcs 7.1.3 OSS to 7.1.4 OSS and I have one problem that now from administrator console when we click view user account mail , it cannot redirect to user account , just show login screen .
Is that I miss something from upgrade procedure?

Regards,
oktamaxi
Reply With Quote
  #3 (permalink)  
Old 01-16-2012, 07:09 AM
Senior Member
 
Posts: 71
Default

Found some workaround:

1. Make sure you have preach enabled: Preauth - Zimbra :: Wiki
2. Use a small PHP or whatever you may prefer running something like this:

PHP Code:
/**
* Globals. Can be stored in external config.inc.php or retreived from a DB.
*/
$PREAUTH_KEY="put your generated pre authentication key here";
$WEB_MAIL_PREAUTH_URL="https://your.domain.com/service/preauth";

/**
* User's email address and domain. In this example obtained from a GET query parameter. 
* i.e. preauthExample.php?email=user@domain.com&domain=domain.com
* You could also parse the email instead of passing domain as a separate parameter
*/
$email $_REQUEST['user'];

if(empty(
$PREAUTH_KEY)) {
    die(
"Need preauth key for domain ".$domain);
}

/**
* Create preauth token and preauth URL
*/
$timestamp=time()*1000;
$preauthToken=hash_hmac("sha1",$email."|name|0|".$timestamp,$PREAUTH_KEY);
$preauthURL $WEB_MAIL_PREAUTH_URL."?account=".$email."&by=name&timestamp=".$timestamp."&expires=0&preauth=".$preauthToken;

/**
 * Redirect to Zimbra preauth URL
 */
header("Location: $preauthURL"); 
Now call your script with the email param - and think of protecting this link somehow!
Reply With Quote
  #4 (permalink)  
Old 01-16-2012, 07:31 AM
Senior Member
 
Posts: 71
Default

Also got a reply what to do from support:

# zmprov mcf zimbraPublicServiceProtocol https
# zmprov mcf zimbraPublicServicePort 443
# zmprov fc -a all

Restart services
Fixed the issue for me!
Reply With Quote
  #5 (permalink)  
Old 01-16-2012, 12:36 PM
Junior Member
 
Posts: 7
Default

Quote:
Originally Posted by catnipper View Post
Also got a reply what to do from support:

# zmprov mcf zimbraPublicServiceProtocol https
# zmprov mcf zimbraPublicServicePort 443
# zmprov fc -a all

Restart services
Fixed the issue for me!
FYI...I have the same issue with 7.1.4, and these commands did not fix.

Lance
Reply With Quote
  #6 (permalink)  
Old 01-16-2012, 02:15 PM
Special Member
 
Posts: 117
Default

Hi,

have same problem here.
Upgrade from 6.0.10.Ubuntu8_x64 with instantupgrade.

tried your parameters
zmprov mcf zimbraPublicServiceProtocol https
zmprov mcf zimbraPublicServicePort 443
zmprov fc -a all

no change after restart

does there exist a bug to vote for?

thomas
__________________
zmcontrol -v
2x Release 6.0.10_GA_2692.UBUNTU8_64 NETWORK edition.
1x Release 6.0.14_GA_2928.UBUNTU8_64 NETWORK edition
2x Release 7.1.3_GA_3346.UBUNTU10_64 NETWORK edition, Patch 7.1.3_P1

1x Release 6.0.7_GA_2470.UBUNTU8_64 FOSS edition
1x Release 7.1.2_GA_3268.UBUNTU10_64 FOSS edition
2x Release 7.1.3_GA_3346.UBUNTU10_64 FOSS
1x Release 7.1.4_GA_2555.UBUNTU10_64 FOSS
Reply With Quote
  #7 (permalink)  
Old 01-18-2012, 08:38 AM
Junior Member
 
Posts: 7
Default

bump...anybody else having this issue?

Lance
Reply With Quote
  #8 (permalink)  
Old 01-18-2012, 09:00 AM
Senior Member
 
Posts: 71
Default

Quote:
Originally Posted by stegbth View Post
does there exist a bug to vote for?
Bug 69155 - View mail from admin console does not work for Global admin
Reply With Quote
  #9 (permalink)  
Old 01-18-2012, 12:14 PM
Junior Member
 
Posts: 7
Default

I just discovered something interesting and thought I would share. When I select View Mail on a user and it takes me to the login screen of the web client, the url is https://<server-hostname>. If I replace the server hostname with the ip address of the server and hit Enter, it logs me into the account I was trying to view. Hmm....

Lance
Reply With Quote
  #10 (permalink)  
Old 01-18-2012, 12:23 PM
Senior Member
 
Posts: 71
Default

I also had this issue for a while in ZCS 6. As far as I remember it's a question what protocols you have enabled (mixed, http, https...).

CLI zmtlsctl to set Web Server Mode - Zimbra :: Wiki should help.
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.