Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Users

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 09-11-2008, 01:48 AM
New Member
 
Posts: 4
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
Reply With Quote
  #2 (permalink)  
Old 09-11-2008, 02:08 AM
Moderator
 
Posts: 7,929
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.
__________________
Reply With Quote
  #3 (permalink)  
Old 09-11-2008, 06:08 PM
Moderator
 
Posts: 6,237
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
Reply With Quote
  #4 (permalink)  
Old 09-11-2008, 06:47 PM
Moderator
 
Posts: 6,237
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)(zimbraDomainNam e=%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..
Reply With Quote
  #5 (permalink)  
Old 09-12-2008, 02:57 AM
New Member
 
Posts: 4
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.
Reply With Quote
  #6 (permalink)  
Old 09-12-2008, 03:02 AM
Moderator
 
Posts: 7,929
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.
__________________
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.