Results 1 to 4 of 4

Thread: [SOLVED] Domain Forwarding from old NON ZIMBRA domain

  1. #1
    Join Date
    May 2009
    Rep Power

    Default [SOLVED] Domain Forwarding from old NON ZIMBRA domain

    I know this question has been asked before, but i have tried everything and cant seem to get it working correctly.

    We are running Zimbra 5.016 on our new server. We are also using a completely different domain name.

    How do i set up an alias that forwards all mail from the old server to the new server and distributes it to the appropriate mail boxes.

    The last thing i tried was:

    zmprov cd zimbraDomainType alias zimbraDomainAliasTargetId e452d.......9483514 zimbraMailCatchAllAddress zimbraMailCatchAllForwardingAddress

    Once again, they are on completely separate boxes, with completely separate domain names.

    how do i know what part isnt working?
    Do i need to do something on the OLD server to forward to the new server?
    Other than running that cli command, do i need to set up a generic user account on the new server?

    Please help....

  2. #2
    Join Date
    Nov 2006
    Rep Power


    From what you have said it would appear to be a issue with the sending server ... What MTA does it run ? Have you checked /var/log/zimbra.log to see why it is being rejected ? A little more information please

  3. #3
    Join Date
    Feb 2007
    Sioux Falls, SD
    Rep Power


    Agree with uxbod, but I think I understand what you're getting at. I'll give it a shot.

    We recently did this with a domain that was being migrated to our Zimbra servers. We kept the same domain between both the old mail system and Zimbra. First we created the domain in the Zimbra Admin and executed the following:

    $ zmprov md <orginal domain> zimbraMailCatchAllAddress @<orginal domain>
    $ zmprov md <orginal domain> zimbraMailCatchAllForwardingAddress @<orginal domain>
    $ zmprov md <orginal domain> zimbraMailTransport smtp:<old MTA>
    On the old system, they had to setup forwards pointing to our MTA for each account as it was migrated. I pulled this from Split Domain Configuration.

    A word of warning though, be careful with the 'zmprov mcf' commands listed lower on the page, as these modify global config. settings. These will redirect all outgoing mail to the old mail system. If this is the only domain on the Zimbra server, that's cool. If it's not, this will cause problems.

    Hope this helps!

    CoSentry - - Co-Location & Business Resiliency Solutions

  4. #4
    Join Date
    May 2009
    Rep Power

    Default SOLUTION: wait a few minutes

    Apparently, I didnt give zimbra (new server) and the old server time to do their thing.

    The commands that i entered worked flawlessly, but when i tested it immediately afterwards (sending to the old domain from various addresses internal and external as well as from the old domain and the new domain) it wasnt working (the new server wasnt getting the emails directed to the old server)

    I threw my hands up, went to lunch, and while i was out i got a call asking why email wasnt coming through (on the old server) and realized it was autoMAGICly being sent to the Zimbra server. YAY... Success.

    Bottom line:

    The line of code that i entered worked.
    you have to find the domain ID# in the admin panel to use in the code
    you have to wait a few minutes for the planets to realign properly
    and finally...
    it works.

    Also... once the new zimbra server is up and running with all corresponding users, you DO have to set the MX records that point to your old mail server to the location of new mail server. If you dont, only LOCAL email will be forwarded to the new server. Once the MX records are updated, externally sent email will also get forwarded from new to old.

    Thank you so much for your help!

Similar Threads

  1. Replies: 8
    Last Post: 01-20-2009, 12:06 PM
  2. Upgrade to ZCS 5.10
    By blozancic in forum Installation
    Replies: 0
    Last Post: 10-21-2008, 08:03 AM
  3. [SOLVED] Error Installing Zimbra on RHEL 5
    By harris7139 in forum Installation
    Replies: 10
    Last Post: 09-25-2007, 11:39 AM
  4. Zimbra shutdowns every n hours.
    By Andrewb in forum Administrators
    Replies: 13
    Last Post: 08-14-2007, 08:55 AM
  5. Mail logs
    By Rick Baker in forum Installation
    Replies: 8
    Last Post: 01-17-2006, 03:33 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