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 in the forums, please register and review our posting policy & tips. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-17-2006, 07:06 AM
Loyal Member
 
Posts: 97
Default Dual platform environment

We are currently in the process of migrating from sendmail to Zimbra. We have MX records setup for mail.domain.com and mail02.domain.com. The original server is mail.domain.com and mail02.domain.com is the zimbra server. We have about 75 users on the old sendmail server and 3 users on Zimbra. Our architecture is currently setup with all mail coming into mail.domain.com and then if its one of the 3 Zimbra users it forwards to the Zimbra server.

The problem is we setup zimbra to be @mail02.domain.com and the original is @domain.com. Whats the best way to migrate from @mail02.domain.com while still allowing mail to be received at both places depending on whether the user exists or not? Basically both servers (sendmail and Zimbra) need to accept @domain.com and have the mail go to the appropriate place.

Sendmail is running on Fedora Core 5 and Zimbra is running on RHEL4 for reference. Any help would be appreciated.
Reply With Quote
  #2 (permalink)  
Old 11-17-2006, 07:41 AM
Loyal Member
 
Posts: 97
Default

Found this.

http://wiki.zimbra.com/index.php?title=Split_Domain
Reply With Quote
  #3 (permalink)  
Old 11-17-2006, 12:02 PM
Loyal Member
 
Posts: 89
Smile

Hey Jareep,

This is how I did it:

A is the old sever with send mail
B is the new server

Added a .forward file to all users on A that are moving to B, I had it save a copy locally and forward to B

setup A as B's relay host and disabled DNS lookups
setup B to accept all mail at my domain, thus any user it does not have an account on B will be forwarded to A because it is the relay host

Let me know if you have questions on specifics, I found everything i needed on google and the wiki.
Reply With Quote
  #4 (permalink)  
Old 11-17-2006, 01:44 PM
Loyal Member
 
Posts: 97
Default

I see what you mean, but I ran into a small mail routing problem that I feel I "hacked" around. There's probably a more elegant and correct solution.

Zimbra: mail02.mydomain.com
Sendmail: mail.mydomain.com

MX-1 mail02.mydomain.com
MX-2 mail.mydomain.com (and this can probably be removed)

User1@mydomain.com = sendmail user
User2@mydomain.com = Zimbra user

user2 has a .forward file in sendmail that is User2@mail02.mydomain.com. Then in Zimbra I created mail02.mydomain.com as another Zimbra domain and added a User2@mail02.mydomain.com alias for User2@mydomain.com. The reason was that sendmail users were not able to send mail to the Zimbra users.

I didn't want to delete the sendmail user accounts and thats what was causing the problem. Would it be possible to have the .forward file say: User2@mydomain.com? Seemed to me that sendmail would try sending to itself and it might create a routing loop. Ideas on that?
Reply With Quote
  #5 (permalink)  
Old 11-17-2006, 01:53 PM
Loyal Member
 
Posts: 89
Thumbs up .forward details

Hey Jareep,

First of all, I am not worrying about MX records untill the actual switch of my systems. For now all mail to B comes from A.

As for loops in the .forward file, I can help you with that.
here is the format for the .forward, the slash in front of the local username keeps it from becoming a loop.

Quote:
\sendmailUsername, newMailUsername@newHostname.domain.com
Assuming of course your zimbra box has a fully q'd hostname
Reply With Quote
Reply


Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] LDAP / slapd - Database environment corrupt (Issue & Solution) greenrenault Administrators 18 05-14-2009 05:40 AM
Bad 5.0b2 upgrade JoshuaPrismon Installation 1 07-26-2007 07:34 PM
Zimbra on dual processor soumen74 Administrators 3 02-24-2007 10:25 PM
M3 on Dual Core Intel iMac pcjackson Users 3 01-20-2006 02:48 PM
Install zimbra in an existing environment zigi Installation 3 12-12-2005 08:27 AM

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

Zimbrablog.com

sourceforge.net



 

Search Engine Optimization by vBSEO 3.1.0