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

Thread: Mx record

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

    Default Mx record

    Hi all.

    I use zcs OS 7.1.1
    Everything works fine, but when i try to test mx record in admin console i get error "Domain is configured to use SMTP host: domain.local. none of the MX records match this name." When i look at details i see following: " Found the following MX records: 10 mx1.domain.local."

    Code:
    root@mx1:~# cat /etc/hosts
    127.0.0.1	localhost
    62.*.*.9	mx1.domain.local	mx1
    Code:
    root@mx1:~# cat /etc/resolv.conf 
    search domain.local
    nameserver 62.*.*.3
    nameserver 192.168.11.2
    Where i can configure to use zimbra SMTP host mx1.domain.local ?

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

    Default

    Your hosts file & your resolv.conf are incorrect, go to the Split DNS article and read what's necessary for your DNS A & MX records and those files I've mentioned - this subject has also been covered (and answered) many times in the forums if you'd like to do a search.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

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

    Default

    Thank you for your reply. I see this article, before i write my message. Zimbra server is in dmz and my dns server too. Why i need to use split dns?

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

    Default

    Quote Originally Posted by koststok View Post
    Thank you for your reply. I see this article, before i write my message. Zimbra server is in dmz and my dns server too. Why i need to use split dns?
    I assume you are behind a NAT router then? As I've already said, you need to set-up the Split DNS so the LAN IP address of the server can be resolved - asked and answered many times in the forums.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

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

    Default

    This server have one ip address, this ip address 62.*.*.9 This address resolve from anywhere. From lan and form internet.

    P.s. Forgive my insistence )

  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 koststok View Post
    This server have one ip address, this ip address 62.*.*.9 This address resolve from anywhere. From lan and form internet.
    This server is in a DMZ or behind a NAT router isn't it? If it is then you need a Split DNS.

    Go to the Split DNS article and post the output of all the commands section.
    Last edited by phoenix; 08-01-2011 at 04:51 AM.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

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

    Default

    At this time i use lan dns server (active directory 192.168.11.2), firewall is cisco hardware. Between lan and DMZ.

    Code:
    root@mx1:/tmp# dig domain.local mx
    
    ; <<>> DiG 9.7.0-P1 <<>> domain.local mx
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 39093
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
    
    ;; QUESTION SECTION:
    ;domain.local.			IN	MX
    
    ;; ANSWER SECTION:
    domain.local.		3600	IN	MX	10 mx1.domain.local.
    
    ;; ADDITIONAL SECTION:
    mx1.domain.local.	3600	IN	A	62.*.*.9
    
    ;; Query time: 1 msec
    ;; SERVER: 192.168.11.2#53(192.168.11.2)
    ;; WHEN: Mon Aug  1 16:18:41 2011
    ;; MSG SIZE  rcvd: 68
    Code:
    root@mx1:/tmp# dig domain.local any
    
    ; <<>> DiG 9.7.0-P1 <<>> domain.local any
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 62842
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 3
    
    ;; QUESTION SECTION:
    ;domain.local.			IN	ANY
    
    ;; ANSWER SECTION:
    domain.local.		600	IN	A	192.168.11.2
    domain.local.		600	IN	A	192.168.11.3
    domain.local.		3600	IN	NS	dc2.domain.local.
    domain.local.		3600	IN	NS	dc1.domain.local.
    domain.local.		3600	IN	SOA	dc1.domain.local. hostmaster.domain.local. 12176 900 600 86400 3600
    domain.local.		3600	IN	MX	10 mx1.domain.local.
    
    ;; ADDITIONAL SECTION:
    dc2.domain.local.	3600	IN	A	192.168.11.3
    dc1.domain.local.	3600	IN	A	192.168.11.2
    mx1.domain.local.	3600	IN	A	62.*.*.9
    
    ;; Query time: 1 msec
    ;; SERVER: 192.168.11.2#53(192.168.11.2)
    ;; WHEN: Mon Aug  1 16:20:27 2011
    ;; MSG SIZE  rcvd: 215
    Code:
    root@mx1:/tmp# host $(hostname)
    mx1.domain.local has address 62.*.*.9
    Code:
    root@mx1:/tmp# cat /etc/resolv.conf 
    search domain.local
    nameserver 192.168.11.2
    Code:
    root@mx1:/tmp# cat /etc/hosts
    127.0.0.1	localhost
    62.*.*.9	mx1.domain.local	mx1
    
    # The following lines are desirable for IPv6 capable hosts
    ::1     localhost ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    Last edited by koststok; 08-01-2011 at 06:47 AM.

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

    Default

    I'd suggest you read the Split DNS article in detail. Your hosts file is incorrect (the loopback entry is wrong and the IP address for your server is wrong) and your DNS records are incorrect (they do not point to the LAN IP of the server - those problems are why you are getting no mail to your server. You need to fix all of those problems for your mail delivery problem and possible future problems.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

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

    Default

    server is work fine, i can recieve and send mails.

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

    Default

    Quote Originally Posted by koststok View Post
    server is work fine, i can recieve and send mails.
    That's fine but you're having a problem checking the MX record from the Admin UI. The information I've asked you to provide shows that your hosts file is incorrect and your DNS A record is also incorrect. If you're happy to leave it like that then feel free to ignore my suggestions but you will, eventually, have problems with your server - you can do whatever you like, it's your choice. Feel free to search the forums for further information on this problem and what the correct settings should be.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

Similar Threads

  1. Newely created SPF record
    By Mike From Markham in forum Administrators
    Replies: 2
    Last Post: 05-24-2011, 01:55 PM
  2. Issue: MX Record & Multi-domain
    By wcbenyip in forum Installation
    Replies: 5
    Last Post: 06-23-2009, 07:15 PM
  3. Replies: 11
    Last Post: 05-12-2009, 07:26 AM
  4. Mail sent to the A record of the server, not MX
    By BarthezZ in forum Installation
    Replies: 4
    Last Post: 06-22-2007, 04:16 AM
  5. MX record cannot deliver mail
    By computerguy24 in forum Administrators
    Replies: 3
    Last Post: 09-06-2006, 05:36 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
  •