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 04-28-2011, 03:15 PM
Member
 
Posts: 12
Default Incoming mail issue

Hi. I have installed Zimbra successfully on Fedora 13. I am able to send out mail already, but I am not able to receive emails. My server is behind a NAT router. I need help please in setting up A and MX records. I have read all the articles in WIKI(I think). I also tried split DNS, but I cant seem to follow it correctly. Please advise what my next step should be. I apologize if this issue is common but Im desperate. Please help me out.


[zimbra@CALLTEK ~]$ cat /etc/resolv.conf
search callteknoc.com
nameserver 172.20.1.224

nameserver 4.2.2.2
nameserver 4.2.2.1


####################



[zimbra@CALLTEK ~]$ cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
172.20.1.224 mail.callteknoc.com callteknoc


####################


[zimbra@CALLTEK ~]$ dig callteknoc.com mx

; <<>> DiG 9.7.0-P1-RedHat-9.7.0-9.P1.fc13 <<>> callteknoc.com mx
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 1652
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;callteknoc.com. IN MX

;; AUTHORITY SECTION:
com. 900 IN SOA a.gtld-servers.net. nstld.verisign-grs.com. 1304028758 1800 900 604800 86400

;; Query time: 269 msec
;; SERVER: 4.2.2.2#53(4.2.2.2)
;; WHEN: Fri Apr 29 03:13:43 2011
;; MSG SIZE rcvd: 105


#######################################

[zimbra@CALLTEK ~]$ dig callteknoc.conf any

; <<>> DiG 9.7.0-P1-RedHat-9.7.0-9.P1.fc13 <<>> callteknoc.conf any
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 63781
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;callteknoc.conf. IN ANY

;; AUTHORITY SECTION:
. 900 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2011042800 1800 900 604800 86400

;; Query time: 420 msec
;; SERVER: 4.2.2.2#53(4.2.2.2)
;; WHEN: Fri Apr 29 03:14:13 2011
;; MSG SIZE rcvd: 108



###################################

[zimbra@CALLTEK ~]$ host `hostname`
Host CALLTEK not found: 3(NXDOMAIN)
[zimbra@CALLTEK ~]$



Can I use xname.org to register my domain since they are providing it for free? Please advise what my next step would be.
Reply With Quote
  #2 (permalink)  
Old 04-28-2011, 11:00 PM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

Quote:
Originally Posted by engrolsonjr View Post
Please advise what my next step would be.
Your next step would be to fix your DNS records. As you're behind a NAT router you need the Split DNS set-up, it should be fairly straightforward to follow.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 04-29-2011, 07:01 AM
Member
 
Posts: 12
Default

Thanks for the quick reply. Im a complete beginner at linux so please bare with me. I have Fedora 13 installed. Following the steps in Split DNS, there are only two options.

Install Bind on Red Hat Enterprise Linux:

[root@CALLTEK calltek]# apt-get install bind9
Command not found.


Configuring dnsmasq on the Zimbra Server:
[root@CALLTEK calltek]# apt-get install bind9
Command not found.


Neither of them would recognize the command. Please help.
Reply With Quote
  #4 (permalink)  
Old 04-29-2011, 08:29 AM
Advanced Member
 
Posts: 212
Default

apt-get is a Debian/Ubuntu command. You need to use yum
Code:
yum install bind
Reply With Quote
  #5 (permalink)  
Old 04-29-2011, 09:24 AM
Member
 
Posts: 12
Default

done. what should I do next? Thanks for the response. Ive been trying to make this work for 2 days already..
Reply With Quote
  #6 (permalink)  
Old 04-29-2011, 09:44 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

Quote:
Originally Posted by engrolsonjr View Post
done. what should I do next? Thanks for the response. Ive been trying to make this work for 2 days already..
You need to set-up your DNS A & MX records as per the wiki article.
__________________
Regards


Bill
Reply With Quote
  #7 (permalink)  
Old 04-29-2011, 01:38 PM
Member
 
Posts: 12
Default

Are you referring to Split DNS article? And also, is this set up in the Zimbra server itself or on the DNS server? Thanks for the quick response
Reply With Quote
  #8 (permalink)  
Old 04-29-2011, 02:05 PM
Member
 
Posts: 12
Default

Im stucked at this step:


Edit the named.conf file

Substitute your fully-qualified server name for server.example.com
If named runs in a chroot'ed directory (i.e. /var/named/chroot), named.conf should be placed in
/etc/named/chroot/etc/named.conf and you should create a symbolic link to /etc/named.conf,
i.e. ln -s /etc/named.conf /etc/named/chroot/etc/named.conf
or ln -s /etc/bind/named.conf /etc/bind/named/chroot/etc/named.conf
For Red Hat, edit: /etc/named.conf
For Ubuntu/Kubuntu, edit: /etc/bind/named.conf.options

Substitute your fully-qualified server name for server.example.com ====> where do I set this?

I also get this error messages.

[root@mail calltek]# ln -s /etc/named.conf /etc/named/chroot/etc/named.conf
ln: creating symbolic link `/etc/named/chroot/etc/named.conf': No such file or directory
[root@mail calltek]# ln -s /etc/bind/named.conf /etc/bind/named/chroot/etc/named.conf
ln: creating symbolic link `/etc/bind/named/chroot/etc/named.conf': No such file or directory
[root@mail calltek]#


Im a complete newbie with linux but I can follow instructions quickly
Reply With Quote
  #9 (permalink)  
Old 04-29-2011, 02:07 PM
Member
 
Posts: 12
Default

This is my named.conf in /etc/named.conf


[root@mail calltek]# cat /etc/named.conf
//
// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//

options {
listen-on port 53 { 127.0.0.1; };
listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
allow-query { localhost; };
recursion yes;

dnssec-enable yes;
dnssec-validation yes;
dnssec-lookaside auto;

/* Path to ISC DLV key */
bindkeys-file "/etc/named.iscdlv.key";
};

logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};

zone "." IN {
type hint;
file "named.ca";
};

include "/etc/named.rfc1912.zones";
Reply With Quote
  #10 (permalink)  
Old 04-30-2011, 05:34 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

Details of how to install BIND9 on CentOS (it should be similar for Fedora, there may be a better how-to if you google for it): BIND Installation On CentOS | HowtoForge - Linux Howtos and Tutorials

FWIW, if you want a stable server platform for your mail server then I'd recommend using CentOS rather than a bleeding-edge consumer distribution.
__________________
Regards


Bill
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.