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 02-10-2009, 02:16 AM
Starter Member
 
Posts: 2
Default [SOLVED] change user password -> wrong URL (It's not the https issue ;-))

Hello everybody, this is my first post here, and I hope it not violates any forum rules. I tried to find the answer of my question, but unfortunately I haven't found anything.

I'm using Zimbra since 1-2 days (I've already deployed it in production environment with more than 300 users and 5 virtual domains). Today I've discovered something, which I consider as wrong as logic. Let's say that I have 2 domains:

domain1.com
domain2.com

The MX records for those domains are pointed as shown bellow:

domain1.com IN MX 5 mail.domain1.com
domain2.com IN MX 5 mail.domain2.com

The A records of both main. domains points to Zimbra server. For instance:

mail.domain1.com IN A 192.168.0.1
mail.domain2.com IN A 192.168.0.1

but all other records point to different addresses:

domain1.com IN A 192.168.0.22
web.domain1.com IN A 192.168.0.33

and so on..

Now, the problem is that when user with username user1@domain1.com log into his account and try to change his password, the zimbra points him to WRONG url. It open the http://domain1.com/h/password which is wrong because domain1.com is completely different server. The same is happened with user2@domain2.com. Zimbra just looks at user's domain, and point him to http://${domain}/h/password.

Is there any method to tell zimbra which URL is correct? For instance, to tell zimbra "anytime when someone wants to change his password, point him to zimbra.domain.com/h/password" without looking up the user's domain name?

I'm look in forward !

Kind regards,
Danail Petrov
Reply With Quote
  #2 (permalink)  
Old 02-10-2009, 03:21 AM
Junior Member
 
Posts: 5
Default

I have the same problem.
I'm using version 5.0.12 btw.

Any help would be great!
Reply With Quote
  #3 (permalink)  
Old 02-10-2009, 03:49 AM
Starter Member
 
Posts: 2
Default "problem" Solved!

I found the solution!

Log in into zimbra as administrator (http://zimbra.host:7071)

Click on the "domains" and select some domain. There is "Public service host name" field. Type the correct domain name of the zimbra, and everything will be fine!

I'm quite sure that this information will be useful to someone else ;-)

Kind Regards!
Reply With Quote
  #4 (permalink)  
Old 02-10-2009, 03:51 AM
Moderator
 
Posts: 2,207
Default

Zimbra server in https mode
Reply With Quote
  #5 (permalink)  
Old 02-10-2009, 04:30 AM
Junior Member
 
Posts: 5
Default

I had my zimbra server in "https" only mode, after applying dpetrov's solution it changed the server name but only in "http".

I've bypassed this problem changing "https only" mode to "redirect".

zmtlsctl redirect

When the password window appears it's redirected to https and it works like a charm.


Thanks a lot !
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.