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 01-27-2011, 12:45 PM
Intermediate Member
 
Posts: 21
Default [SOLVED] Use Postfix to forward mail to Zimbra Server

I have two servers:
Server one is mail.example.com
server two is zimbra.example.com

All mail comes in from the outside to mail.example.com
it is forwarded to zimbra.example.com if the account exists.

All the users that were created under the old admin can get/send email but when I create a user on the zimbra machine they still get thier email on mail.example.com but it never makes it zimbra.example.com

I am slowing moving users over from mail.example.com to zimbra.example.com then once all are moved (along with emails) I am killing off the mail.example.com and making zimbra.example.com the only server after I change the MX record.

I beg of the for help. I read the migration wiki but it wants zimbra to be the first machine mail hits.

Thanks in advance for the help.
Reply With Quote
  #2 (permalink)  
Old 01-27-2011, 01:10 PM
Intermediate Member
 
Posts: 21
Default

What do I have to tell my mail.example.com server to do in order for this to work?
The email addresses will be the same and so will the password. I just need the mail to end up in the Zimbra inbox and not on the mail.example.com mailbox.
Reply With Quote
  #3 (permalink)  
Old 01-27-2011, 01:45 PM
Special Member
 
Posts: 126
Default

what's wrong with creating all the accounts on the zimbra server, changing the MX records, then migrating the user info? this way once the accounts are created they'll get their mail and you can integrate the old data with the new accounts while it's live.
Reply With Quote
  #4 (permalink)  
Old 01-27-2011, 02:15 PM
Intermediate Member
 
Posts: 21
Default

I figured out the problem I was not running the postmap command after updating the transport file.

I cant change the mx record till this weekend they wont let me.
Reply With Quote
  #5 (permalink)  
Old 01-28-2011, 07:12 AM
Intermediate Member
 
Posts: 21
Default

Just incase someone else has this same issue this is what you do on you primary non-zimbra server. In my case it is running postfix.

sudo vim /etc/postfix/transport

Add the following to the file:

username@domain.com smtp:zimbra.domain.com

Where username@domain.com is the email address you want to forward and zimbra.doamin.com is actually the name of your zimbra server on the network. make sure to already have the account setup on the zimbra server so the mail will not get bounced back.

Now we need to compile this file using the postmap command:
sudo postmap /etc/postfix/transport

Edit /etc/postfix/main.cf and add this line at the bottom,
transport_maps = hash:/etc/postfix/transport


Hope this helps you out.
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.