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

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 11-22-2007, 03:44 PM
Member
 
Posts: 10
Default Is it possible to relay mail this way?

Hey all,
Ok, another n00b question, I've been trying to get this working all day. So here's how my mail is setup. I have a domain with a hosting company, say mydomain.com. So when mail is sent to me@mydomain.com, my hosting company forwards that email to my mail server on my local network. So if you do an MX lookup for mydomain.com it points to my hosting company's mail server not my Zimbra server on my home network (which is the way I want it).
So my mydomain.com mail I want to flow through my home Zimbra server, but I don't want the MX record to point to my home network IP.
Is there a way to actually accomplish this? Or do I have to change the MX record for my domain to point to my home network IP (which I would rather not do if I don't have to).
I'm running Ubuntu 6.06 LTS and the 5.0 RC2 Zimbra server.

Thanks, ahead of time....
Reply With Quote
  #2 (permalink)  
Old 11-22-2007, 04:36 PM
OpenSource Builder & Moderator
 
Posts: 1,166
Default

couple of workarounds I can think for this. one is to use another domain name (or subdomain - eg. home.mydomain.com) and set the mx of that domain to your home IP (hope it's static otherwise it's more tricky. if it is dynamic, use a service such as dyndns.org and point to that address - don't point to a cname). then configure that domain or subdomain on your home zimbra server and forward to that address. you can also configure your main mydomain.com on your home zimbra if you want to send out as this address for instance, and alias your other domain or subdomain onto your main domain just for delivery.
Reply With Quote
  #3 (permalink)  
Old 11-22-2007, 04:57 PM
Member
 
Posts: 10
Default

Well I have a static IP on my home network, so that's not a problem. But I wasn't clear about what your second workaround was.
The problem I'm dealing with is if I enable DNS lookups, I can send mail out, but not receive mail in. If I disable DNS lookups, I can receive mail but not send it (using the setup that I want).
If I enable DNS lookups, the issue is when mail comes in, it does a DNS lookup of my Zimbra server, and the DNS servers it's using for the lookup give it the wrong IP (because it's an internal server without an external IP address).
Reply With Quote
  #4 (permalink)  
Old 11-22-2007, 05:14 PM
OpenSource Builder & Moderator
 
Posts: 1,166
Default

well you need to do either one of two things:

1) setup split-horizon dns to resolve your local addresses

2) put your internal server hostname/ip address into public dns, and alias the public hostname.
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.