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

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-16-2012, 09:54 AM
Intermediate Member
 
Posts: 19
Default No DNS Lookup

Hi all,

does Zimbra really check MX when sending mail? The following problem occured few times, when domain and accounts are configured on zimbra server A and MX DNS record points on another server B: if someone sends a mail to that domain from zimbra webgui A, then mail is not routed outside to server B via SMTP.
It is routed inside Zimbra A and delivered to locally configured mailbox. What is wrong? Zimbra is looking first its local domain database, bypassing mx records?

Can someone confirms this behaviour?
Reply With Quote
  #2 (permalink)  
Old 01-22-2012, 12:10 AM
Zimbra Consultant & Moderator
 
Posts: 20,314
Default

Quote:
Originally Posted by qseb View Post
Can someone confirms this behaviour?
If the domain exists on the Zimbra server it will get delivered to the account that exists on the Zimbra server not routed externally. It does not make sense to have two domains of the same name with one of them on another server and corresponding DNS records pointing to the second server.

What problem are you actually trying to solve by using this scenario?
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 01-22-2012, 07:41 PM
Intermediate Member
 
Posts: 22
Default

yes right

if your zimbra server is having domain example.com then it will deliver it locally for domain example.com. you can tell zimbra to deliver mail for other domains to your second smtp server.
__________________
Thanks & Regards
S. Jangra
System Admin
Reply With Quote
  #4 (permalink)  
Old 01-26-2012, 01:37 AM
Intermediate Member
 
Posts: 19
Default

Quote:
Originally Posted by phoenix View Post
If the domain exists on the Zimbra server it will get delivered to the account that exists on the Zimbra server not routed externally. It does not make sense to have two domains of the same name with one of them on another server and corresponding DNS records pointing to the second server.

What problem are you actually trying to solve by using this scenario?
Yes it does not make sense on most of the time. But consider this two situation in production:
- when a new customer migrates its mail system to your zimbra, then you have to prepare domain and accounts before DNS migration. During this time you cannot correspond with real adresses.
- when a customer leaves the zimbra server for another provider. If domain is immediately not destroyed, you again cannot correspond with adresses since they've just moved to another server. It's dangerous to delete a mail domain if you're not sure that DNS are propagated...

Zimbra SHOULD check MX to send mail and shouldn't make lookups to internal values.
Reply With Quote
  #5 (permalink)  
Old 01-26-2012, 03:05 AM
Zimbra Consultant & Moderator
 
Posts: 20,314
Default

Quote:
Originally Posted by qseb View Post
Yes it does not make sense on most of the time. But consider this two situation in production:
- when a new customer migrates its mail system to your zimbra, then you have to prepare domain and accounts before DNS migration. During this time you cannot correspond with real adresses.
- when a customer leaves the zimbra server for another provider. If domain is immediately not destroyed, you again cannot correspond with adresses since they've just moved to another server. It's dangerous to delete a mail domain if you're not sure that DNS are propagated...
Then us e a Split Domain.
__________________
Regards


Bill
Reply With Quote
  #6 (permalink)  
Old 01-26-2012, 07:07 AM
Intermediate Member
 
Posts: 19
Default

Quote:
Originally Posted by phoenix View Post
Then us e a Split Domain.
OK interesting, BUT:

zmprov on my zimbra :
Code:
md foreign-domain.com zimbraMailCatchAllAddress @foreign-domain.com
md foreign-domain.com zimbraMailCatchAllForwardingAddress @foreign-domain.com 
md foreign-domain.com zimbraMailTransport smtp:mta.other-provider.com
so I expect that mail adressed to foreign-domain.com from my zimbra will be routed to mta.other-provider.com. It does not work, my zimbra still delivers mails to foreign-domain.com locally.
I flushed cache
I restarted postfix
I restarted zimbra.
Reply With Quote
  #7 (permalink)  
Old 01-27-2012, 05:37 AM
Intermediate Member
 
Posts: 19
Default

Code:
zmprov ma user@foreign-domain.com zimbraMailTransport smtp:mta.other-provider.com:25
is working. All mails from zimbra platform adressed to user@foreign-domain.com are correctly routed outside
How to make this rule available as domain rule?
Code:
md foreign-domain.com zimbraMailTransport smtp:mta.other-provider.com
was not successfull...

EDIT : finally working by appending :25 to mta.other-provider.com

Last edited by qseb; 01-27-2012 at 05:51 AM.. Reason: found solution
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.