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 04-23-2008, 11:09 PM
Active Member
 
Posts: 37
Default [SOLVED] issue receiving mail - problem with name resolution

I created a fresh setup of Zimbra 5.0.5 on a fresh installed Ubuntu 6.06 behind an ipcop firewall.

When receiving e-mails, the e-mail is received and virus checked fine. The next step the logfile shows is postfix/lmtp ... deferred ... connection refused. The reason is that the name resolution is done for the external IP address of my MX record.

Tests I did to check the configuration:
mail.xxx.com is configured in /etc/hosts as well as on the internal DNS server pointing to my internal IP address
My mail MX record points to mail.xxx.com: host -x mx xxx.com confirms mail.xxx.com
ping mail.xxx.com talks to my internal IP address
/etc/resolv.conf shows my internal DNS as the first DNS

Nevertheless the mail delivery catches the external IP address for my mail server rather the internal one. Any hints?

Last edited by mfehr; 04-23-2008 at 11:38 PM..
Reply With Quote
  #2 (permalink)  
Old 04-24-2008, 12:09 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

If you're behind a NAT router you need a Split DNS set-up and a correct /etc/hosts file. You need to post some information showing your DNS resolves OK & the hosts file is correct
__________________
Regards


Bill

Last edited by phoenix; 04-24-2008 at 05:31 AM..
Reply With Quote
  #3 (permalink)  
Old 04-24-2008, 04:43 AM
Outstanding Member
 
Posts: 684
Default

When a mail client/server delivers to another mail server, it checks DNS for the MX record with the lowest serial number. Then it checks for the A record that resolves to the MX record.

It is the delivering mail server which determines which IP to deliver to by the info it receives from it DNS querry. The receiving mail server can be made to listen on a specific IP but other than that it has nothing to do with which IP a sending server or client uses.
Reply With Quote
  #4 (permalink)  
Old 04-24-2008, 11:54 PM
Active Member
 
Posts: 37
Default Solved

Thanks. Installing and configuring bind9 on my zimbra host (ubuntu 6.06 server) solved the problem. Now zimbra got it's own dedicated DNS server.
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.