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 04-26-2006, 04:17 AM
Active Member
 
Posts: 33
Default Migrating users over time

Hi,

New to the forum and quite new to Zimbra, although I have followed the project since I first heard of it when you launched.

I am now in the process of migrating our company from a basic postfix, pop3, horde webmail setup to Zimbra. While everything so far has worked out fine and I am very close to actually moving users there is one thing I can't seem to find info on.

We are going to use a split domain setup with Zimbra as the authorative master and our old server as the slave. I setup forwarding for all the old accounts as detailed by the Wiki document, and then gradually move user by user to the new server.

However I havent yet found a description on how to "enable" a user in Zimbra that was previously forwarded with :
Code:
zmprov ma bar@example.com zimbraMailTransport smtp:mail.example.com
That is, once I am ready to move the user to the new server, how do I disable the forwarding to the slave? Excuse me if this is a stupid question, I did search the forum and the docs before asking. Maybe I was looking in the wrong places..

Thanks
--
Denis
Reply With Quote
  #2 (permalink)  
Old 04-26-2006, 04:40 AM
Zimbra Employee
 
Posts: 4,792
Default

Welcome!

Just reset the value to use LMTP to your Zimbra host. So like:
Code:
zmprov ma bar@example.com zimbraMailTransport lmtp:ZIMBRA_SERVER_NAME
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #3 (permalink)  
Old 04-26-2006, 07:22 AM
Moderator
 
Posts: 883
Default

I have a similar question, except I setup the Zimbra server as the Slave using the zmprov commands in the Split Domain wiki. Eventually when I migrate all my users over, the Zimbra server will be the one and only email server. What commands do I need to execute to undo the actions from the previous zmprov commands?
Reply With Quote
  #4 (permalink)  
Old 04-26-2006, 08:01 AM
Zimbra Employee
 
Posts: 4,792
Default

Quote:
Originally Posted by soxfan
I have a similar question, except I setup the Zimbra server as the Slave using the zmprov commands in the Split Domain wiki. Eventually when I migrate all my users over, the Zimbra server will be the one and only email server. What commands do I need to execute to undo the actions from the previous zmprov commands?
As you add accounts to the domain they will receive mail at Zimbra and it will not be forwarded to the old machine. Once all the accounts are provisioned on Zimbra and nobody is accessing the old server to send/receive mail you'll need to update your DNS Mx records. Zimbra was the slave so you need to get routing of mail to hit Zimbra directly. Then remove relay host setting, the mailTransport attr on your domain and finally shut-down the old mail system.
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #5 (permalink)  
Old 04-26-2006, 08:18 AM
Moderator
 
Posts: 883
Default

OK thanks. But what about the zmprov commands that were done to accept all addresses in the domain as valid ( zimbraMailCatchAllAddress and zimbraMailCatchAllForwardingAddress)? How do you undo these commands? Is it just a matter of reissuing the commands with a null or space value, or is there another way to do it?
Reply With Quote
  #6 (permalink)  
Old 04-26-2006, 10:29 AM
Zimbra Employee
 
Posts: 4,792
Default

Yes you should just set them to empty which should remove them.
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #7 (permalink)  
Old 04-26-2006, 11:32 PM
Active Member
 
Posts: 33
Default Thanks

Thanks for an extremely quick and helpful answer. After fiddling around with the ga and --help commands of zmprov I think I understand a lot more also.
Reply With Quote
  #8 (permalink)  
Old 04-27-2006, 04:48 AM
Active Member
 
Posts: 33
Default

Hmm.. Mysteriously I am altering my info like you said, and when checking the account with "ga" I get this:
Code:
[zimbra@ms1 log]$ zmprov ga denis@mydomain.domain | grep MailTransport
zimbraMailTransport: lmtp:zimbraserver.mydomain.domain
Still when sending mail to myself through the server it is still forwarded to the old slave server.

Me being a relative newbie with this I am not quite sure where to check more detailed logs than just the nice queue display in the webinterface. Thus I am having a bit of difficulty troubleshooting this.
Reply With Quote
  #9 (permalink)  
Old 04-27-2006, 08:21 AM
Zimbra Employee
 
Posts: 4,792
Default

Did you restart tomcat? We do cache that info for some time. Check /var/log/zimbra.log for more info when you retest.
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #10 (permalink)  
Old 04-28-2006, 02:16 AM
Active Member
 
Posts: 33
Default Worked

Restarting worked fine. I have a new problem now, but will start a new thread instead as it is of a totally different nature.
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.