Results 1 to 5 of 5

Thread: I can't receive emails from domains

  1. #1
    tavo_ad is offline New Member
    Join Date
    Sep 2012
    Posts
    3
    Rep Power
    2

    Exclamation I can't receive emails from domains

    Hi,

    I don't speak a lot of english but i'm going try to explain me.

    I've installed Zimbra NE 7.1 over RHEL6 (64 bits).

    The Server have a NAT IP Address (10.X.X.X) and we've got an Public IP Address to this Server.

    We've got the domain fenasa.org with the A Record (mail.fenasa.org) point to my Public IP Address. We've got an MX Record point to fenasa.org and the PTR Records correspondents to my IP Address and domain.

    By our architecture, we need to make the Split DNS Process, and i did it..

    I complete the installation process and i create an account to test.

    I can send emails to internet domains but i can't receive from them.

    Next can found the outputs from some files and tests:

    cat /etc/resolv.conf
    search mail.fenasa.org
    nameserver 127.0.0.1
    nameserver 207.248.224.71
    nameserver 207.248.224.72

    cat /etc/hosts
    127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
    ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
    10.40.1.207 mail.fenasa.org mail

    host $(hostname)
    mail.fenasa.org has address 189.206.235.76

    dig fenasa.org mx

    ; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.10.rc1.el6_3.2 <<>> fenasa.org mx
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 59695
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 4

    ;; QUESTION SECTION:
    ;fenasa.org. IN MX

    ;; ANSWER SECTION:
    fenasa.org. 3600 IN MX 10 mail.fenasa.org.

    ;; AUTHORITY SECTION:
    fenasa.org. 86339 IN NS dns.alestra.net.mx.
    fenasa.org. 86339 IN NS mail2.alestra.net.mx.
    fenasa.org. 86339 IN NS mail1.alestra.net.mx.

    ;; ADDITIONAL SECTION:
    mail.fenasa.org. 3563 IN A 189.206.235.76
    mail1.alestra.net.mx. 84371 IN A 201.163.0.44
    mail2.alestra.net.mx. 84371 IN A 201.151.64.141
    dns.alestra.net.mx. 84371 IN A 201.163.0.43

    ;; Query time: 3 msec
    ;; SERVER: 127.0.0.1#53(127.0.0.1)
    ;; WHEN: Thu Sep 6 13:26:37 2012
    ;; MSG SIZE rcvd: 185


    dig fenasa.org

    ; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.10.rc1.el6_3.2 <<>> fenasa.org
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64185
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 3

    ;; QUESTION SECTION:
    ;fenasa.org. IN A

    ;; ANSWER SECTION:
    fenasa.org. 3600 IN A 189.206.235.76

    ;; AUTHORITY SECTION:
    fenasa.org. 86318 IN NS dns.alestra.net.mx.
    fenasa.org. 86318 IN NS mail2.alestra.net.mx.
    fenasa.org. 86318 IN NS mail1.alestra.net.mx.

    ;; ADDITIONAL SECTION:
    mail1.alestra.net.mx. 84350 IN A 201.163.0.44
    mail2.alestra.net.mx. 84350 IN A 201.151.64.141
    dns.alestra.net.mx. 84350 IN A 201.163.0.43

    ;; Query time: 3 msec
    ;; SERVER: 127.0.0.1#53(127.0.0.1)
    ;; WHEN: Thu Sep 6 13:26:58 2012
    ;; MSG SIZE rcvd: 164


    I found the next error on the file zimbra.log

    "Sep 6 12:37:06 mail postfix/lmtp[21221]: E1F6E1F980EC: to=, relay=none, delay=63, delays=0.01/0.03/63/0, dsn=4.4.1, status=deferred (connect to mail.fenasa.org[189.206.235.76]:7025: Connection timed out)"

    I hope you can help me

    Kind Regards

    Gustavo Garcia

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

    Default

    Quote Originally Posted by tavo_ad View Post
    We've got the domain fenasa.org with the A Record (mail.fenasa.org) point to my Public IP Address.
    From behind your NAT router, that is incorrect.

    Quote Originally Posted by tavo_ad View Post
    We've got an MX Record point to fenasa.org and the PTR Records correspondents to my IP Address and domain.
    That is also incorrect, you should never use a PTR record for a mail server it should be an A record. The output you've shown from your LAN DNS server is incorrect.

    Quote Originally Posted by tavo_ad View Post
    By our architecture, we need to make the Split DNS Process, and i did it..
    I'm afraid you didn't. Go to the Split DNS article in the wiki and read what's necessary for a Split DNS (you should be using the LAN IP) and make the necessary changes, when you've done that you can check your configuration by running all the commands in the 'Verify ....' section of that article.
    Last edited by phoenix; 09-06-2012 at 11:08 PM.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    tavo_ad is offline New Member
    Join Date
    Sep 2012
    Posts
    3
    Rep Power
    2

    Default

    Hi Bill,

    Thanks for your response.

    I don't understand what i did wrong. I've read a lot of times the Split DNS article but this still wrong.

    My Server is the only one who are behind a Router/Nat. I can't understand why point Record A to the Public IP Address is wrong. What you mean with "The output you've shown from your LAN DNS server is incorrect".

    Thats the outputs of my bind files:


    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.
    //
    // Default named.conf generated by install of bind-9.2.4-2
    options {
    directory "/var/named";
    dump-file "/var/named/data/cache_dump.db";
    statistics-file "/var/named/data/named_stats.txt";
    forwarders { 207.248.224.71 ; };
    };
    include "/etc/rndc.key";
    // We are the master server for mail.fenasa.org
    zone "mail.fenasa.org" {
    type master;
    file "db.mail.fenasa.org";
    };

    include "/etc/named.rfc1912.zones";
    include "/etc/named.root.key";

    cat /var/named/db.mail.fenasa.org
    ;
    ; Addresses and other host information.
    ;
    @ IN SOA mail.fenasa.org. mail.fenasa.org. (
    10118 ; Serial
    43200 ; Refresh
    3600 ; Retry
    3600000 ; Expire
    2592000 ) ; Minimum
    ; Define the nameservers and the mail servers
    IN NS 10.40.1.207
    fenasa.org IN MX 10 mail.fenasa.org
    mail.fenasa.org IN A 10.40.1.207


    Thanks for your help. I'm a newbie in Zimbra and DNS, and i try to learn about it.

    Kind Regards
    Gustavo Garcia

  4. #4
    tavo_ad is offline New Member
    Join Date
    Sep 2012
    Posts
    3
    Rep Power
    2

    Default

    Finally i got the solution.

    The solution was to use dnsmasq on my server and the problem is gone.

    Tomorrow i will post the changes i've made to the files.

    Gustavo Garcia

  5. #5
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,506
    Rep Power
    57

    Default

    Quote Originally Posted by tavo_ad View Post
    I don't understand what i did wrong. I've read a lot of times the Split DNS article but this still wrong.
    I told you in my previous post and it's in the Split DNS wiki article and in multipleposts/threads in the forums - you use the LAN IP address on your LAN DNS server not the Public IP address.

    Quote Originally Posted by tavo_ad View Post
    The solution was to use dnsmasq on my server and the problem is gone.
    The solution was to use the LAN IP address not the Public IP address, using dnsmasq wasn't the answer.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Can't receive mails from specific email domains
    By urielv in forum Administrators
    Replies: 1
    Last Post: 02-27-2012, 02:07 PM
  2. I don't receive mails from some domains
    By pigui in forum Administrators
    Replies: 2
    Last Post: 02-08-2011, 05:55 PM
  3. Unable to send and receive mails from some domains
    By Bartimaeus in forum Administrators
    Replies: 4
    Last Post: 08-30-2010, 07:42 AM
  4. unable to receive messages from certain domains
    By leocertuche in forum Administrators
    Replies: 2
    Last Post: 08-19-2009, 12:54 PM
  5. Restrict users to send and receive from/to certain domains
    By cyrofilho in forum Administrators
    Replies: 1
    Last Post: 06-12-2008, 09:38 PM

Posting Permissions

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