Results 1 to 6 of 6

Thread: Create new domain

  1. #1
    sepaduka is offline New Member
    Join Date
    Sep 2008
    Posts
    4
    Rep Power
    6

    Default Create new domain

    Dear all,

    I have install Zimbra and working fine. Im using excising mail sever with postfix and I need to transfer all users to Zimbra.

    My domains ex (abc1.com, abc2.com, abc3.com)

    abc1.com domain working with zimbara and abc2.com and abc3.com working with excising mail sever.

    I need to transfer abc2.com users to zimbra.

    I created domain abc2.com in zimbra and status put locked. after create abc2.com, users of abc1.com cant send mails to abc2.com. mail trying to deliver localy.

    how can I route abc2.com mails to excising mail sever after create domain abc2.com.

    Pls advice .

    sepaduka

  2. #2
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,016
    Rep Power
    24

    Default

    Welcome to the forums

    I believe you should be able to use Transport Table for external servers - Zimbra :: Wiki so that you can route those emails back to your original server.

  3. #3
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    20

    Default

    That's a great method for your situation as you have them easily split into domains / you're doing an entire domain at once. Just wanted to point out - should you be in a situation where you can only migrate x users of a domain at one time or something - other options (primary or secondary configs) are outlined here: Split Domain - Zimbra :: Wiki

  4. #4
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    20

    Default

    I should also note that while the first solution Uxbod mentioned only outlines it for domains, you could technically map values per each account in one big local file, but at that point you might as well take advantage of the virtual mapping LDAP lookups through the split domain wiki article.

    Postconf:
    transport_maps = proxy:ldap:/opt/zimbra/conf/ldap-transport.cf
    virtual_alias_domains = proxy:ldap:/opt/zimbra/conf/ldap-vad.cf
    virtual_alias_maps = proxy:ldap:/opt/zimbra/conf/ldap-vam.cf
    virtual_destination_recipient_limit = $default_destination_recipient_limit
    virtual_mailbox_domains = proxy:ldap:/opt/zimbra/conf/ldap-vmd.cf
    virtual_mailbox_maps = proxy:ldap:/opt/zimbra/conf/ldap-vmm.cf

    Or localconfig:
    postfix_transport_maps = proxy:ldap:${zimbra_home}/conf/ldap-transport.cf
    postfix_virtual_alias_domains = proxy:ldap:${zimbra_home}/conf/ldap-vad.cf
    postfix_virtual_alias_maps = proxy:ldap:${zimbra_home}/conf/ldap-vam.cf
    postfix_virtual_mailbox_domains = proxy:ldap:${zimbra_home}/conf/ldap-vmd.cf
    postfix_virtual_mailbox_maps = proxy:ldap:${zimbra_home}/conf/ldap-vmm.cf

    Where example query_filters are like (&(|(zimbraMailDeliveryAddress=%s)(zimbraDomai nName=%s))(zimbraMailStatus=enabled))

    Default proxy_read_maps include $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks

    Note that the 'proxy:' references you see instead of just 'ldap:' is not the nginx proxy service for HTTP/IMAP/POP but rather a new dedicated process (proxymap) that handles LDAP lookups instead of Postfix subprocesses in 5.0.9+: Bug 29395 - Postfix needs to use proxymaps
    Last edited by mmorse; 09-11-2008 at 09:20 PM.

  5. #5
    sepaduka is offline New Member
    Join Date
    Sep 2008
    Posts
    4
    Rep Power
    6

    Default

    Im not migrating x users. 1st I need to create users then client part config. how can I inactive domain after create.

    I just need to create domain, no need to diliver mails localy...

    My prob is as soon as I create a domina zimbra is trying to diliver mails localy for that domain... I need to send that mail traffic to my relay host.

    Pls advice.

  6. #6
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,016
    Rep Power
    24

    Default

    Well if you create the transport map, and reload the MTA, prior to creating the domain all email should then be pushed through to your relay instead of being delivered locally.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 7
    Last Post: 04-27-2009, 02:49 AM
  2. Replies: 20
    Last Post: 03-18-2008, 05:37 AM
  3. [SOLVED] Remove main domain!
    By zibra in forum Administrators
    Replies: 11
    Last Post: 09-27-2007, 08:50 AM
  4. [SOLVED] How to create domain administration user?
    By vaggie in forum Installation
    Replies: 4
    Last Post: 05-18-2007, 05:03 AM
  5. Create new domain
    By mcevoys in forum Installation
    Replies: 3
    Last Post: 11-24-2006, 02:48 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
  •