ZCS 7.1.4 view user email

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
oktamaxi
Posts: 8
Joined: Sat Sep 13, 2014 12:01 am

ZCS 7.1.4 view user email

Postby oktamaxi » Sat Jan 14, 2012 9:55 pm

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


catnipper
Advanced member
Advanced member
Posts: 71
Joined: Fri Sep 12, 2014 11:45 pm

ZCS 7.1.4 view user email

Postby catnipper » Mon Jan 16, 2012 8:50 am

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 user="oktamaxi"]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[/QUOTE]
catnipper
Advanced member
Advanced member
Posts: 71
Joined: Fri Sep 12, 2014 11:45 pm

ZCS 7.1.4 view user email

Postby catnipper » Mon Jan 16, 2012 9:09 am

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:
/**

* 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!
catnipper
Advanced member
Advanced member
Posts: 71
Joined: Fri Sep 12, 2014 11:45 pm

ZCS 7.1.4 view user email

Postby catnipper » Mon Jan 16, 2012 9:31 am

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!
User avatar
axslingr
Outstanding Member
Outstanding Member
Posts: 201
Joined: Sat Sep 13, 2014 2:20 am
ZCS/ZD Version: 8.8.15_GA_3829.RHEL7_64_20190718141

ZCS 7.1.4 view user email

Postby axslingr » Mon Jan 16, 2012 2:36 pm

[quote user="catnipper"]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![/QUOTE]
FYI...I have the same issue with 7.1.4, and these commands did not fix.
Lance
stegbth
Advanced member
Advanced member
Posts: 141
Joined: Fri Sep 12, 2014 11:48 pm
Location: Bavaria in Germany

ZCS 7.1.4 view user email

Postby stegbth » Mon Jan 16, 2012 4:15 pm

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
Release 8.6.0.GA.1153.UBUNTU14.64 FOSS edition, Patch 8.6.0_P6
User avatar
axslingr
Outstanding Member
Outstanding Member
Posts: 201
Joined: Sat Sep 13, 2014 2:20 am
ZCS/ZD Version: 8.8.15_GA_3829.RHEL7_64_20190718141

ZCS 7.1.4 view user email

Postby axslingr » Wed Jan 18, 2012 10:38 am

bump...anybody else having this issue?
Lance
catnipper
Advanced member
Advanced member
Posts: 71
Joined: Fri Sep 12, 2014 11:45 pm

ZCS 7.1.4 view user email

Postby catnipper » Wed Jan 18, 2012 11:00 am

[quote user="stegbth"]does there exist a bug to vote for?[/QUOTE]
Bug 69155 - View mail from admin console does not work for Global admin
User avatar
axslingr
Outstanding Member
Outstanding Member
Posts: 201
Joined: Sat Sep 13, 2014 2:20 am
ZCS/ZD Version: 8.8.15_GA_3829.RHEL7_64_20190718141

ZCS 7.1.4 view user email

Postby axslingr » Wed Jan 18, 2012 2:14 pm

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://>. 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
catnipper
Advanced member
Advanced member
Posts: 71
Joined: Fri Sep 12, 2014 11:45 pm

ZCS 7.1.4 view user email

Postby catnipper » Wed Jan 18, 2012 2:23 pm

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.

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 6 guests