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 06-22-2006, 05:30 AM
Senior Member
 
Posts: 61
Default send *all* email through relay mta ?

Hi,

Is there anyway to tell zimbra to send all outgoing email through the relay mta without first trying to deliver to "local domains" ?

I have the situation where someone@domain.com is on one box and someoneelse@domain.com is on zimbra.

Emails come in to a central MTA which knows where to send each email which works very well for incoming external email but because zimbra knows that it has "domain.com" on itself, it (logically and quite understandably) doesn't send email to that domain from local users out to the relay.

any way to make it?

Thanks all!
Keith
Reply With Quote
  #2 (permalink)  
Old 06-22-2006, 09:22 AM
Zimbra Employee
 
Posts: 4,792
Default

Did you try to set a relay MTA in the Admin UI and disable DNS lookups?
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #3 (permalink)  
Old 06-22-2006, 09:49 AM
Senior Member
 
Posts: 61
Default

Quote:
Originally Posted by KevinH
Did you try to set a relay MTA in the Admin UI and disable DNS lookups?
hi Kevin,

I did set a relay MTA but I still have DNS lookups on.

If I turn that off, would that force zimbra to send everything out ? even though it has domain.com in its list of domains?
Reply With Quote
  #4 (permalink)  
Old 06-22-2006, 09:56 AM
Senior Member
 
Posts: 61
Default

Just tried turning dns lookups off as well ... but still the same problem, I guess zimbra sees that it has "domain.com" locally and then can't find someone@domain.com locally so won't let me send.
Reply With Quote
  #5 (permalink)  
Old 06-25-2006, 06:16 AM
Junior Member
 
Posts: 8
Default

Quote:
Originally Posted by keithop
Just tried turning dns lookups off as well ... but still the same problem, I guess zimbra sees that it has "domain.com" locally and then can't find someone@domain.com locally so won't let me send.
What about if you set up the Zimbra box as a "caching+" DNS with the only MX record as being the "other" MTA and force the Zimbra box (through resolv.conf) to use localhost for DNS? If Zimbra is making the determination based upon DNS records then that might work?

The alternative way to do it might be to make your Zimbra box's FQDN something like server.zimbra.domain.com and the user's address user@zimbra.domain.com. Then set up the outgoing address for the user to in fact be user1@domain.com. Make sure that server.zimbra.domain.com is the MX record for the subdomain zimbra.domain.com but NOT for domain.com and set up the relay MTA. Now (and I haven't tried this yet) email sent for user2@domain.com from user1@zimbra.domain.com will be sent with a From header of user1@domain.com but correctly delivered to the remote MTA.

Anyone come up with something more elegant?

Thanks! Silas
Reply With Quote
  #6 (permalink)  
Old 06-25-2006, 07:07 PM
Senior Member
 
Posts: 61
Default

Hi Silas!

Thanks for the suggestions, much appreciated..

Actually option2 is pretty much exactly how I do it with our exchange boxes... relay mta sends to userID@internaldomain.com but the account is setup to send AS userID@properdomain.com

Works a treat but I couldn't immediately find where on zimbra to set a proper from address in that way :/

It sounds workable though if I can discover where the setting is ;-)

Thanks again for taking the time to think about it!
all the best,
Keith
Reply With Quote
  #7 (permalink)  
Old 07-20-2006, 07:22 PM
Zimbra Employee
 
Posts: 515
Default

it sounds kinda like you're running a split domain. take a look at the split domain wiki and see if that lines up with what you've got
__________________
Search the Forums - Bugzilla - Wiki - Downloads
Reply With Quote
  #8 (permalink)  
Old 07-24-2006, 03:27 AM
Senior Member
 
Posts: 61
Default

Hi Bobby,

Yep that's exactly the situation! Thanks for that,

Cheers,
Keith
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.