Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 31

Thread: Open Zimbra & Ubuntu 8.04LTS - can't receive external emails

  1. #21
    bbarrons is offline Special Member
    Join Date
    Jan 2008
    Location
    Michigan
    Posts
    174
    Rep Power
    7

    Default yep

    but I made the change this morning only after I tried host `hostname`
    and got the message...... so put it back to the way I had it. I must have something else wrong then if it still cant resolve hostname correctly.... right?
    thanks
    Bill B
    p.s


    what do I restart to accept the change after I make it to the hostfile..... bind?

  2. #22
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,497
    Rep Power
    56

    Default

    You shouldn't need to restart anything after making the hosts file change - with the qualifier that I don't know much about Ubunt.

    How about the usual questions? Let's see the output of the following:

    Code:
    cat /etc/hosts
    cat /etc/resolve.conf
    
    dig barronsfamily.net mx
    dig barronsfamily.net any
    Did you also make the change to the /etc/nsswitch.conf mentioned above?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #23
    bbarrons is offline Special Member
    Join Date
    Jan 2008
    Location
    Michigan
    Posts
    174
    Rep Power
    7

    Default I didnt think so either

    but when i had made changes and saw no difference I thought maybe something needed to be restarted. so here is my info:
    bbarrons@ms2:~$ cat /etc/hosts
    127.0.0.1 localhost.localdomain localhost
    192.168.1.120 ms2.barronsfamily.net ms2

    bbarrons@ms2:~$ cat /etc/resolv.conf
    ### BEGIN INFO
    #
    # Modified_by: NetworkManager
    # Process: /usr/bin/NetworkManager
    # Process_id: 6883
    #
    ### END INFO



    nameserver 192.168.1.120
    nameserver 68.94.156.1


    nameserver 68.94.157.1


    ; <<>> DiG 9.4.2-P2 <<>> barronsfamily.net mx
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35429
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

    ;; QUESTION SECTION:
    ;barronsfamily.net. IN MX

    ;; ANSWER SECTION:
    barronsfamily.net. 604800 IN MX 10 ms2.barronsfamily.net.

    ;; AUTHORITY SECTION:
    barronsfamily.net. 604800 IN NS ms2.barronsfamily.net.

    ;; ADDITIONAL SECTION:
    ms2.barronsfamily.net. 604800 IN A 192.168.1.120

    ;; Query time: 0 msec
    ;; SERVER: 192.168.1.120#53(192.168.1.120)
    ;; WHEN: Fri Nov 28 13:36:19 2008
    ;; MSG SIZE rcvd: 85


    ; <<>> DiG 9.4.2-P2 <<>> barronsfamily.net any
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48562
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1

    ;; QUESTION SECTION:
    ;barronsfamily.net. IN ANY

    ;; ANSWER SECTION:
    barronsfamily.net. 604800 IN SOA ms2.barronsfamily.net. admin.barronsfamily.net. 24 604800 86400 2419200 604800
    barronsfamily.net. 604800 IN NS ms2.barronsfamily.net.
    barronsfamily.net. 604800 IN MX 10 ms2.barronsfamily.net.
    barronsfamily.net. 604800 IN A 192.168.1.120

    ;; ADDITIONAL SECTION:
    ms2.barronsfamily.net. 604800 IN A 192.168.1.120

    ;; Query time: 0 msec
    ;; SERVER: 192.168.1.120#53(192.168.1.120)
    ;; WHEN: Fri Nov 28 13:36:42 2008
    ;; MSG SIZE rcvd: 143


    so there it is. I am sure it is something very simple bu I cant see it.
    thanks
    Bill B

  4. #24
    bbarrons is offline Special Member
    Join Date
    Jan 2008
    Location
    Michigan
    Posts
    174
    Rep Power
    7

    Default cat /etc/nsswitch.conf

    bbarrons@ms2:~$ cat /etc/nsswitch.conf
    # /etc/nsswitch.conf
    #
    # Example configuration of GNU Name Service Switch functionality.
    # If you have the `glibc-doc-reference' and `info' packages installed, try:
    # `info libc "Name Service Switch"' for information about this file.

    passwd: compat
    group: compat
    shadow: compat

    hosts: files dns mdns
    networks: files

    protocols: db files
    services: db files
    ethers: db files
    rpc: db files

    netgroup: nis

  5. #25
    bbarrons is offline Special Member
    Join Date
    Jan 2008
    Location
    Michigan
    Posts
    174
    Rep Power
    7

    Default

    Bill, thanks for taking the time to help me sort this out. I didnt mean to hijack this thread and maybe should have started a new one but it was right in line with what I was working on.
    I am heading into work now so I wont be back to try anything until late.
    again, thanks for your time
    Bill B

  6. #26
    Bill Brock is offline Outstanding Member
    Join Date
    May 2007
    Location
    Oklahoma
    Posts
    703
    Rep Power
    9

    Default Start of Authority.

    I noticed your start of authority is your local machine. Do you actually have Bind up and running properly? Silly question but I'm at a loss. Either way, I can't understand why you're not resolving from the hosts file.

    Is it possible that you need to flush your DNS cache as you have to in Windows.

    Link about cache in ubuntu
    http://ubuntuforums.org/showthread.php?t=326186
    Last edited by Bill Brock; 11-28-2008 at 12:40 PM.

  7. #27
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,497
    Rep Power
    56

    Default

    I'll second that, from the information you've posted I don't understand why it's not resolving correctly either.

    A restart or reload of BIND should reload all your files correctly but I'd suggest the next step would be a reboot. I assume you have forwarders specified in BIND (or are you using root servers)? If you have, I'd suggest removing the additional DNS servers from your resolv.conf and just leave your local DNS server.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  8. #28
    bbarrons is offline Special Member
    Join Date
    Jan 2008
    Location
    Michigan
    Posts
    174
    Rep Power
    7

    Smile what worked

    first, thank you both for your replies... it helps greatly to talk things thru to a conclusion.
    I logged into my server at the school to run some tests. It is virtually the same setup as my home server. I ran host `hostname` and it resolved to the host name of the server so I then started to look at the files involved. In /etc/resolv.conf my school server looked like this:

    Code:
    bbarrons@ms1:~$ cat /etc/resolv.conf
    nameserver 192.168.3.5
    domain stmarysstclair.org
    here is how my home server looked:

    Code:
    bbarrons@ms2:~$ cat /etc/resolv.conf
    ### BEGIN INFO
    #
    # Modified_by:  NetworkManager
    # Process:      /usr/bin/NetworkManager
    # Process_id:   6883
    #
    ### END INFO
    nameserver 192.168.1.120
    nameserver 68.94.156.1
    nameserver 68.94.157.1
    So I did as you suggested and removed the forwarders because as you said they are already setup in bind.
    It still didnt work so I then added this line to my file:

    Code:
    domain barronsfamily.net
    so that it now looks like this:

    Code:
    bbarrons@ms2:~$ cat /etc/resolv.conf
    nameserver 192.168.1.120
    domain barronsfamily.net
    worked as it should. thank you for being persistent.
    Bill B
    Last edited by phoenix; 11-29-2008 at 07:07 AM.

  9. #29
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,497
    Rep Power
    56

    Default

    Ah, that would explain it. I was assuming (always a fatal mistake) that you had that in there and just posting details of the DNS IP addresses earlier. My mistake for not spotting that. The 'domain' keyword tells the search what to append to the hostname when you do a query, that why it was failing as no domain name was added. Glad you've fixed it.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  10. #30
    aruizna is offline Starter Member
    Join Date
    Feb 2012
    Posts
    1
    Rep Power
    3

    Default So, it was solved?

    Quote Originally Posted by mbossmanh View Post
    So far it still doesn't work. I'm going to give it another 24hours to see if that changes anything (with dns).

    Otherwise, i think i have exhausted all my resources. I was thinking of trying another distribution. Which one can you recommend?

    Thanks,
    Mike
    mbossmanh, have you ever knew what was the problem in your server configuration?

Page 3 of 4 FirstFirst 1234 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. slapd message error
    By smoke in forum Administrators
    Replies: 7
    Last Post: 04-27-2008, 03:23 PM
  2. Replies: 12
    Last Post: 02-25-2008, 07:28 PM
  3. Replies: 22
    Last Post: 12-02-2007, 05:05 PM
  4. Zimbra shutdowns every n hours.
    By Andrewb in forum Administrators
    Replies: 13
    Last Post: 08-14-2007, 08:55 AM
  5. Replies: 8
    Last Post: 02-27-2007, 04:10 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
  •