Results 1 to 5 of 5

Thread: [SOLVED] Use Postfix to forward mail to Zimbra Server

  1. #1
    NTS-NEWB is offline Intermediate Member
    Join Date
    Jan 2011
    Location
    Jackson, TN
    Posts
    23
    Rep Power
    4

    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.

  2. #2
    NTS-NEWB is offline Intermediate Member
    Join Date
    Jan 2011
    Location
    Jackson, TN
    Posts
    23
    Rep Power
    4

    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.

  3. #3
    danielfarrelly is offline Special Member
    Join Date
    Apr 2007
    Location
    Los Gatos, CA
    Posts
    138
    Rep Power
    8

    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.

  4. #4
    NTS-NEWB is offline Intermediate Member
    Join Date
    Jan 2011
    Location
    Jackson, TN
    Posts
    23
    Rep Power
    4

    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.

  5. #5
    NTS-NEWB is offline Intermediate Member
    Join Date
    Jan 2011
    Location
    Jackson, TN
    Posts
    23
    Rep Power
    4

    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.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Did I miss something? (Zimbra GA 6.0.8 on Ubuntu 10.04)
    By vpetersson in forum Installation
    Replies: 2
    Last Post: 10-26-2010, 06:29 AM
  2. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 12:42 AM
  3. Problem with Postfix and MTA
    By ZMilton in forum Administrators
    Replies: 16
    Last Post: 04-16-2008, 06:47 AM
  4. fatal: Queue report unavailable - mail system is down
    By zzzzsg in forum Administrators
    Replies: 16
    Last Post: 08-24-2006, 02:31 AM
  5. Seeming variety of problems on suse-9.1
    By Crexis in forum Installation
    Replies: 52
    Last Post: 03-04-2006, 12:19 AM

Posting Permissions

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