Preauth authentication failed error?
Let me explain my problem
domain.com and mail.domain.com are different servers,
zimbra is installed on mail.domain.com.SSL is not activated on mail.domain.com
1.I generated key for domain.com at mail.domain.com
2.I restarted zimbra server with stop and start commands
zmcontrol stop
zmcontrol start
3.I adjusted mail.domain.com as the same as domain.com
4.I added zimbra myname@mydomain.com account
and my test.php code at domain.com is:
<?
$now = time() * 1000;
$preauth_string = "myname@domain.com|name|0|" . $now;
$preauth = hash_hmac("sha1", $preauth_string, "350d4c96912e71429689bda85rc62e92gf54a84d8af7ddd35 8c10d3823dfd2bb");
echo "<CENTER><FONT FACE=ARIAL SIZE=+2><A HREF='http://mail.mydomain.com/service/preauth?account=myname@domain.com&expires=0×t amp=" . $now . "&preauth=" . $preauth . "' target='_mail'>Launch Web Mail Client</A></FONT></CENTER>";
?>
and when i clicked to link,i get myname@domain.com authentication error:
HTTP ERROR: 400
authentication failed for myname@domain.com
RequestURI=/service/preauth
Powered by Jetty://
what can be wrong?i'm waiting for your help