Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Incoming mail issue

  1. #1
    Join Date
    Apr 2011
    Posts
    12
    Rep Power
    4

    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.

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    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


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Join Date
    Apr 2011
    Posts
    12
    Rep Power
    4

    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.

  4. #4
    Join Date
    Oct 2008
    Posts
    212
    Rep Power
    7

    Default

    apt-get is a Debian/Ubuntu command. You need to use yum
    Code:
    yum install bind

  5. #5
    Join Date
    Apr 2011
    Posts
    12
    Rep Power
    4

    Default

    done. what should I do next? Thanks for the response. Ive been trying to make this work for 2 days already..

  6. #6
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    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


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    Join Date
    Apr 2011
    Posts
    12
    Rep Power
    4

    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

  8. #8
    Join Date
    Apr 2011
    Posts
    12
    Rep Power
    4

    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

  9. #9
    Join Date
    Apr 2011
    Posts
    12
    Rep Power
    4

    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";

  10. #10
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    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


    Acompli: A new adventure for Co-Founder KevinH.

Similar Threads

  1. Replies: 8
    Last Post: 04-10-2011, 10:14 AM
  2. Replies: 7
    Last Post: 02-03-2011, 07:01 AM
  3. Problem with Postfix and MTA
    By ZMilton in forum Administrators
    Replies: 16
    Last Post: 04-16-2008, 07:47 AM
  4. [SOLVED] Mailserver down when send file attach of 50Mb
    By ZMilton in forum Administrators
    Replies: 20
    Last Post: 04-10-2008, 12:44 PM
  5. fresh install down may be due to tomcat
    By gon in forum Installation
    Replies: 10
    Last Post: 07-25-2007, 09:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •