Results 1 to 5 of 5

Thread: Zarafa next to an existing mail server

  1. #1
    An user
    Guest

    Zarafa next to an existing mail server

    I'm installing Zarafa next to an existing mail server. Current users will be migrated one by one, not all at the same time. I have to find a way of configuring the mail relay to contact the directory server to see if the mail is for a Zarafa user or not and have relay it accordingly.

    I'm fairly sure this is possible, but I'm a bit baffled by postfix' options. A little help is greatly appriciated.

  2. #2
    Senior Member
    Join Date
    May 2006
    Location
    Delft
    Posts
    1,935

    Re: Zarafa next to an existing mail server

    Hi Tristan,

    You can create in Postfix a transport map where you can configure per mailaddress or domain which transport provider should be used.

    See also this Knowledge Base article:

    Regards,

    Milo

  3. #3
    An user
    Guest

    Re: Zarafa next to an existing mail server

    Thanks for your reply, Milo. I'll keep it in mind as a final solution, since I'd like to set things up a bit more "high tech". I've found some info regarding the transport_maps directive and here's how I hope to do it:

    In /etc/postfix/transport, I'll put the address of the old mailserver. I hope this will relay all mail for existing Zarafa-users to the Zarafa server, while relaying mail for users that aren't in the LDAP yet to the old mailserver. This is especially convenient since my client wants to migrate his users one by one over time. Once a user is migrated and has the proper attributes in the LDAP-server, his mail will be automagically relayed to Zarafa.

    Unfortunately, I can't try it out because right now, because the firewall has to be adapted. Do you think my plan has a lot of potential? :-)

  4. #4
    Senior Member
    Join Date
    May 2006
    Location
    Delft
    Posts
    1,935

    Re: Zarafa next to an existing mail server

    You will absolutely need to do it with a transport map.

    But i don't know how you can add configure the transport map that only the emailaddress from your LDAP need are delivered to the Zarafa transport provider and all other email need to relayed to the other mailserver.

    Without LDAP it's a lot easier:

    zarafa:
    zarafa:
    * smtp:ip_address_of_other_mailserver


    You could also create a simple bash script, that add all email address of your LDAP to the transport map with the zarafa transport provider on the same line and add as the last line the wildcard for all other email domains.

    With the postmap command you can create the new db file.

  5. #5
    An user
    Guest

    Re: Zarafa next to an existing mail server

    I've taken the "easy" way out: in the transport map, every existing Zarafa-user is relayed to the Zarafa server and at the end, a wildcard catches all other mails and sends them to the old server. Never mind "high tech", this works! ;-)

Similar Threads

  1. Installing Zarafa: effect on existing mail handling?
    By trancethrust in forum Installation, Configuration and Maintenance
    Replies: 3
    Last Post: 23-04-2012, 02:46 PM
  2. Install Z admin on existing server ?
    By pieter96 in forum Installation and Configuration
    Replies: 1
    Last Post: 02-01-2012, 08:06 AM
  3. Connecting Zarafa local mail server to a global mail server
    By frank in forum Administration and Integration
    Replies: 3
    Last Post: 04-08-2011, 11:41 PM
  4. Zarafa and existing Mailserver
    By ecoment in forum Installation, Configuration and Maintenance
    Replies: 6
    Last Post: 17-07-2011, 11:09 PM
  5. use existing mail server infrastructure
    By thoralf in forum Administration and Integration Archives
    Replies: 4
    Last Post: 20-11-2009, 09:24 AM

Bookmarks

Posting Permissions

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