Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Migration

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 06-17-2008, 05:32 AM
Trained Alumni
 
Posts: 20
Default finishing the migration

Good Morning!

Let me give some background for my question.

To migrate, we setup our old mail server to forward emails to zimbra.

old server= mailhost.domain.com and domain.com
new server = webmail.domain.com

so on the old server we forwarded rrust@domain.com to rrust@webmail.domain.com

we are ready to unplug the old server. Right now I think all I need to do is set a virtual domain on webmail.domain.com to domain.com. Set the mx record for domain.com to go to the ip address of webmail.domain.com and it will start accepting emails to rrust@domain.com

this sound right?
Reply With Quote
  #2 (permalink)  
Old 06-17-2008, 08:50 AM
Moderator
 
Posts: 6,237
Default

Almost, the virtual hostname is just for easier login purposes etc (so you can visit the box and not type the full @webmail.domain.com part of the email) you'll also need a domain alias (or if already created domain masquerading) : ManagingDomains - Zimbra :: Wiki
-That's not a perfect solution however. One issue would be accepting mail to any address@domain.com (it'll bounce later after it attempts to get to address@webmail.domain.com) but it's better to not even accept.

Long term you should really look at 2 options (after nulling out the alias/catchall/removing the fake domain.)

A) Use the renameDomain command
Code:
 zmprov -l rd webmail.domain.com domain.com
Straightforward but do check values for the spam/ham accounts, daily email report address, etc afterwards.
Code:
 zmprov gacf | grep webmail.domain.com
(Don't change every value you see in that grep, the server has a hostname of webmail.domain.com afterall, just let us know what you find and we can point you at what to correct.)


B) Create just 'domain.com' as an actual domain on your ZCS box.
Then you can:
-Move users to it.
Code:
zmprov ra user@webmail.domain.com user@domain.com
OR
-Leave user's at user@webmail.domain.com and just create aliases user@domain.com
Code:
zmprov aaa user@webmail.domain.co user@domain.com
Reply With Quote
  #3 (permalink)  
Old 06-17-2008, 09:45 AM
Trained Alumni
 
Posts: 20
Default

d-day will be next week. I am going to domain alias for now.

thank you very much and I will post back our experiences.

thanks!
bob
Reply With Quote
  #4 (permalink)  
Old 08-25-2008, 03:31 PM
Trained Alumni
 
Posts: 20
Default

I just did option A

zmprov -l rd webmail.domain.com domain.com

I did the
zimbra@webmail log]$ zmprov gacf | grep webmail.domain.com
zimbraLogHostname: webmail.domain.com
zimbraNotebookAccount: wiki@webmail.domain.com

wasn't to worried about the wiki account.

changed dns, changed the IP of the server to the IP of the old server
rebooted and it hangs on starting zimbra for a couple of minutes.

Webmail in a web browser eventually times out with this error..

tinyproxy 1.6.3
The page you requested was unavailable. The error code is listed below. In addition, the HTML file which has been configured as the page to be displayed when an error of this type was unavailable, with the error code 2 (No such file or directory). Please contact your administrator.
Unable to connect

logging into the admin page works as long as I use user@domain.com

all the user accounts show up as user@domain.com so that all looks good, under the mail queue it just shows lots of email stting there and hitting flush doesnt seem to do anything.



any ideas?

thanks,
Robert
Reply With Quote
  #5 (permalink)  
Old 08-25-2008, 08:29 PM
Trained Alumni
 
Posts: 20
Default

i backed off changing the hostname,ip, and dns and instead just changed teh MX records. I think it was the reverse dns record on the old server name as thats the only thing the web interface would work.

so ANYHOW, changed everything back to normal except kept the domain rename thing set to domain.com instead of webmail.domain.com

so mmorse's suggestion worked, i was just trying to go all the way with a A record change and zimbra didn't like that.

only thing thats broken is I get
Message: system failure: could not find zimbraLogHostname server: null Error code: service.FAILURE Method: GetServiceStatusRequest Details:soap:Receiver

whenever I log into the admin page. Did I break something when I tried changing the hostname using /opt/zimbra/libexec/zmsetservername ??

5.0.8 NE BTW

thanks!
Robert
Reply With Quote
  #6 (permalink)  
Old 08-25-2008, 08:57 PM
Trained Alumni
 
Posts: 20
Default

zmprov mcf zimbraLogHostname webmail.domain.com

fixed that last problem, sorry for the wasted reading! -lol
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.