No inbound mail from external networks

Discussion in 'HOWTO-Related Questions' started by dalaniz, Jun 6, 2011.

  1. dalaniz

    dalaniz New Member

    Hi to all members, first I want to thank for all the information you expose in the forum for users like me in relation to linux and ispconfig.
    I have to say that after many hours of work, I hang on the following issue.

    I install Ispconfig on a ubuntu 10.10. The installation was as the perfect guide explain.I can send emails without any problem but I can not receive email messages from external servers.

    I have open ports 110 and 995: see netstat txt

    I can internally send and receive mail.
    Attached is the mail log of an intent of receive a email sent from a mail [email protected] from external domain to [email protected] which is the one domain where ispconfig is the ruler.

    Please help me.
     

    Attached Files:

  2. dipeshmehta

    dipeshmehta Member

    MX record for latinluz.com points to mail.latinluz.com, but there is no A record for mail.latinluz.com. Please correct your DNS enties.

    Moreover, you need to open port 25 also for smtp connections to your server from external mail server.

    Hope this helps.

    Dipesh
     
  3. dalaniz

    dalaniz New Member

    Thank for your replay dear Dipesh.

    I follow the guide How to Run Your Own Name Server With ISPConfig 3 And Fast Hosts.

    Port 25 and 587 are open for smtp and working fine. This is the ispconfig DSN setting on server.

    DNS zone set up:
    A latinluz.com. 68.209.97.120 0
    A mail 68.209.97.120 0
    A ns1 68.209.97.120 0
    A ns2 68.209.67.120 0
    A www 68.209.97.120 0
    MX latinluz.com mail.latinluz.com 10
    NS latinluz.com. ns1.latinluz.com. 0
    NS latinluz.com. ns2.latinluz.com. 0

    Do I have to add another A record ?
     
  4. dipeshmehta

    dipeshmehta Member

    Please check following results:
    Code:
    administrator@mail:~$ ping mail.latinluz.com
    ping: unknown host mail.latinluz.com
    administrator@mail:~$ dig latinluz.com mx
    
    ; <<>> DiG 9.4.2-P2.1 <<>> latinluz.com mx
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6258
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
    
    ;; QUESTION SECTION:
    ;latinluz.com.                  IN      MX
    
    ;; ANSWER SECTION:
    latinluz.com.           3539    IN      MX      10 mail.latinluz.com.
    
    ;; AUTHORITY SECTION:
    latinluz.com.           3484    IN      NS      ns75.domaincontrol.com.
    latinluz.com.           3484    IN      NS      ns76.domaincontrol.com.
    
    ;; ADDITIONAL SECTION:
    ns75.domaincontrol.com. 1497    IN      A       216.69.185.48
    ns76.domaincontrol.com. 1505    IN      A       208.109.255.48
    
    ;; Query time: 0 msec
    ;; SERVER: 192.168.1.7#53(192.168.1.7)
    ;; WHEN: Wed Jun  8 09:44:53 2011
    ;; MSG SIZE  rcvd: 135
    
    administrator@mail:~$ dig latinluz.com all
    
    ; <<>> DiG 9.4.2-P2.1 <<>> latinluz.com all
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40676
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
    
    ;; QUESTION SECTION:
    ;latinluz.com.                  IN      A
    
    ;; ANSWER SECTION:
    latinluz.com.           3479    IN      A       68.209.97.120
    
    ;; AUTHORITY SECTION:
    latinluz.com.           3479    IN      NS      ns75.domaincontrol.com.
    latinluz.com.           3479    IN      NS      ns76.domaincontrol.com.
    
    ;; ADDITIONAL SECTION:
    ns75.domaincontrol.com. 1492    IN      A       216.69.185.48
    ns76.domaincontrol.com. 1500    IN      A       208.109.255.48
    
    ;; Query time: 0 msec
    ;; SERVER: 192.168.1.7#53(192.168.1.7)
    ;; WHEN: Wed Jun  8 09:44:58 2011
    ;; MSG SIZE  rcvd: 130
    
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 55233
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;all.                           IN      A
    
    ;; AUTHORITY SECTION:
    .                       10689   IN      SOA     a.root-servers.net. nstld.verisign-grs.com. 2011060701 1800 900 604800 86400
    
    ;; Query time: 0 msec
    ;; SERVER: 192.168.1.7#53(192.168.1.7)
    ;; WHEN: Wed Jun  8 09:44:58 2011
    ;; MSG SIZE  rcvd: 96
    
    I am not expert in DNS configuration, but I surely doubt that the resolution to your problem depends upon DNS config.

    Dipesh
     

    Attached Files:

  5. dalaniz

    dalaniz New Member

    Thank very much dipesh, I added the record, your clue about mxtoolbox show that the record was empty, I entered the IP in a @ mail record on the provider site. Now when I sent a email, the email is traying to reach the email server but is not going to the mailbox of latinluz.com, specifically to dalaniz user. How can I debug this ?
     

Share This Page