Results 1 to 10 of 10

Thread: Migrating users over time

  1. #1
    denisb is offline Active Member
    Join Date
    Apr 2006
    Posts
    33
    Rep Power
    9

    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

  2. #2
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    18

    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
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  3. #3
    soxfan is offline Moderator
    Join Date
    Mar 2006
    Location
    Massachusetts
    Posts
    965
    Rep Power
    10

    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?

  4. #4
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    18

    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.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  5. #5
    soxfan is offline Moderator
    Join Date
    Mar 2006
    Location
    Massachusetts
    Posts
    965
    Rep Power
    10

    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?

  6. #6
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    18

    Default

    Yes you should just set them to empty which should remove them.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  7. #7
    denisb is offline Active Member
    Join Date
    Apr 2006
    Posts
    33
    Rep Power
    9

    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.

  8. #8
    denisb is offline Active Member
    Join Date
    Apr 2006
    Posts
    33
    Rep Power
    9

    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.

  9. #9
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    18

    Default

    Did you restart tomcat? We do cache that info for some time. Check /var/log/zimbra.log for more info when you retest.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  10. #10
    denisb is offline Active Member
    Join Date
    Apr 2006
    Posts
    33
    Rep Power
    9

    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Migrating users with imapsync... without passwords?
    By misleb in forum Installation
    Replies: 6
    Last Post: 08-12-2007, 08:03 AM
  2. need advice on configuring zimbra to work with fax server
    By pheonix1t in forum Administrators
    Replies: 0
    Last Post: 07-11-2007, 07:46 PM
  3. Replies: 7
    Last Post: 07-05-2007, 07:37 PM
  4. Migrating users between two Zimbra servers
    By rodrigoccurvo in forum Administrators
    Replies: 11
    Last Post: 03-15-2007, 07:58 AM
  5. Migrating from "mdir" to Zimbra
    By czaveri in forum Installation
    Replies: 9
    Last Post: 04-04-2006, 12:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •