Results 1 to 9 of 9

Thread: Cannot receive email due to host not found error.

  1. #1
    Join Date
    Apr 2008
    Posts
    7
    Rep Power
    7

    Default Cannot receive email due to host not found error.

    Zimbra V 5.03 on SLES 9.1

    Going crazy with this one and I know people are going to say 'check your dns'. I have spent hours checking the DNS and hosts. If I turn on "Enable DNS lookups", then all incoming email gets bounced with the following error.

    Mail Error:
    to=, relay=none, delay=10, delays=0.2/0.04/10/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=msp.domain.local type=A: Host not found)

    Test Results are:

    Hosts:
    192.168.2.3 msp.domain.local msp

    DNS:
    dig mx domain.local -> msp.domain.local
    dig msp.domain.local -> 192.168.2.3

    Host:
    host msp.domain.local
    msp.domain.local has address 192.168.2.3
    msp.domain.local mail is handled by 10 msp.domain.local.

    All tests seem to prove the DNS is working but somehow Zimbra/postfix can't resolve an A record for the mail server? This doesn't seem to make any sense. Any clues or help much appreciated.

    Thanks

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

    Default

    Do the following on the zimbra server and post the results:

    Code:
    host `hostnamea  <-- type as-is and use backticks not single quotes
    dig .domain.local mx
    dig .domain.local any
    Last edited by phoenix; 05-14-2008 at 04:13 AM.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Join Date
    Apr 2008
    Posts
    7
    Rep Power
    7

    Default Ok More details

    Code:
    msp:/ # host 'msp.domain.local'
    msp.domain.local has address 192.168.2.3
    msp.domain.local mail is handled by 10 msp.domain.local.
    Code:
    msp:/ # dig domain.local  mx
    
    ; <<>> DiG 9.4.1 <<>> domain.local mx
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51207
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2
    
    ;; QUESTION SECTION:
    ;domain.local.	IN	MX
    
    ;; ANSWER SECTION:
    domain.local. 1200	IN	MX	10 msp.domain.local.
    
    ;; AUTHORITY SECTION:
    domain.local. 1200	IN	NS	ns1.domain.local.
    
    ;; ADDITIONAL SECTION:
    msp.domain.local.	1200 IN	A	192.168.2.3
    ns1.domain.local. 1200 IN	A	192.168.2.3
    
    ;; Query time: 1 msec
    ;; SERVER: 192.168.2.3#53(192.168.2.3)
    ;; WHEN: Wed May 14 03:45:41 2008
    ;; MSG SIZE  rcvd: 114
    Code:
    msp:/ # dig domain.local  any
    
    ; <<>> DiG 9.4.1 <<>> domain.local any
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23226
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 2
    
    ;; QUESTION SECTION:
    ;domain.local.	IN	ANY
    
    ;; ANSWER SECTION:
    domain.local. 1200	IN	SOA	msp.domain.local. root.domain.local. 2008051406 10800 3600 604800 28800
    domain.local. 1200	IN	MX	10 msp.domain.local.
    domain.local. 1200	IN	NS	ns1.domain.local.
    
    ;; ADDITIONAL SECTION:
    msp.domain.local.	1200 IN	A	192.168.2.3
    ns1.domain.local. 1200 IN	A	192.168.2.3
    
    ;; Query time: 0 msec
    ;; SERVER: 192.168.2.3#53(192.168.2.3)
    ;; WHEN: Wed May 14 03:45:55 2008
    ;; MSG SIZE  rcvd: 155

  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 moedaellc View Post
    Code:
    msp:/ # host 'msp.domain.local'
    msp.domain.local has address 192.168.2.3
    msp.domain.local mail is handled by 10 msp.domain.local.
    That wasn't quite what I asked for, do thie following command exactly as I've typed it:

    Code:
    host `hostname`
    and while we're at it you might as well post the output of the collowing:

    Code:
    cat /etc/hosts
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

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

    Default

    Quote Originally Posted by moedaellc View Post
    Zimbra V 5.03 on SLES 9.1
    I notice from your first post that you say that you're installed on SLES9.1, I guess you know that it's EOL and therefore an unsupported platform for NE? Is this an NE install or OSS?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  6. #6
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

  7. #7
    Join Date
    Apr 2008
    Posts
    7
    Rep Power
    7

    Default Following directions

    I made a mistake on the version in my post. This problem is on SLES10. I have too many instances to list them all in the profile. I do need to update the Zimbra versions in my profile as the Zimbra instances are now at 5.0.3 or 4 or 5.

    Apparently I sometimes have trouble following directions. Here is the host results hopefully exactly as requested.

    Code:
    msps2@msp:~> host `hostname`
    msp.domain.local has address 192.168.2.3
    msp.domain.local mail is handled by 10 msp.domain.local.
    Code:
    msps2@msp:~> cat /etc/hosts
    #
    # hosts         This file describes a number of hostname-to-address
    #               mappings for the TCP/IP subsystem.  It is mostly
    #               used at boot time, when no name servers are running.
    #               On small systems, this file can be used instead of a
    #               "named" name server.
    # Syntax:
    #    
    # IP-Address  Full-Qualified-Hostname  Short-Hostname
    #
    
    127.0.0.1       localhost
    
    # special IPv6 addresses
    ::1             localhost ipv6-localhost ipv6-loopback
    
    fe00::0         ipv6-localnet
    
    ff00::0         ipv6-mcastprefix
    ff02::1         ipv6-allnodes
    ff02::2         ipv6-allrouters
    ff02::3         ipv6-allhosts
    192.168.2.3     msp.domain.local msp
    192.168.2.4     mail.domain.local mail
    Note the mail.domain.local is not used. Zimbra is provisioned as msp.domain.local.

    I do vaguely recall from a couple of years ago that there was some Bind or Samba bug in SLES9.1 regarding using a domain name with a .local suffix. This is the only one of the Zimbra instances I have running on a .local TLD.

    Thanks
    Last edited by moedaellc; 05-14-2008 at 06:37 AM.

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

    Default

    You need to modify the hosts file, change this:

    Code:
    127.0.0.1       localhost
    to this:
    Code:
    127.0.0.1       localhost.localdomain localhost
    and restart the server. Do you have any firewall and/or AppArmor installed or active on this server?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  9. #9
    Join Date
    Apr 2008
    Posts
    7
    Rep Power
    7

    Default No AppArmor or Firewall

    I can't restart the server until this evening. I will make the suggested changes then and let you know what happens.

    Thanks

Similar Threads

  1. Error loading on Mac OS X 10.4.10 server PPC
    By qprcanada in forum Installation
    Replies: 7
    Last Post: 10-26-2007, 07:25 AM
  2. Please help
    By scott_summers in forum Administrators
    Replies: 0
    Last Post: 09-27-2007, 12:11 AM
  3. 3.0 to 4.5.3 Upgrade failed (mysql error)
    By dealt in forum Installation
    Replies: 35
    Last Post: 03-19-2007, 11:30 PM
  4. Building native libraries on MacOS X
    By ajmas in forum Developers
    Replies: 3
    Last Post: 10-15-2005, 12:00 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
  •