Results 1 to 5 of 5

Thread: reolving dns and imap sent folder bug

  1. #1
    skiv71 is offline Active Member
    Join Date
    Oct 2008
    Posts
    30
    Rep Power
    6

    Default reolving dns and imap sent folder bug

    hi,

    i'm running zcs opensuse 5.0.10.

    my host pc is set to query the active directory domain controller for dns.

    emails work fine

    thing i've noticed is that zimbra itself seems hit and miss in resolving dns.

    e.g. i noticed authentication issues, checked the settings in the admin console and although it used to be able to resolve fserver, its now failing.

    also, when importing existing mail, i add this with address fserver but it fails.

    now i've changed both to the ip address, but all things being equal, it should work (it used to).

    any ideas?

    also when importing mail, it treats the sent items as incoming, instead of outgoing and so the fields list as FROM instead of TO.

    if i copy mails from the imap to zimbra, the headers get borked, so i'm using thunderbird to load both accounts but its very tempermental that way.

    is there a fix for listing the field right on imap sent items so it shows it as TO?

    thanks

    neil

  2. #2
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    thing i've noticed is that zimbra itself seems hit and miss in resolving dns.

    e.g. i noticed authentication issues, checked the settings in the admin console and although it used to be able to resolve fserver, its now failing.
    how do you know this ? if you were to perform 30 digs from the CLI do any timeout ? Is your AD responding in a timely manner ? Are both servers on the same network range ? If not and say one is in a DMZ how busy is your firewall ? Lots of things could cause slow or un-responsive DNS lookups.

  3. #3
    skiv71 is offline Active Member
    Join Date
    Oct 2008
    Posts
    30
    Rep Power
    6

    Default

    both the mail server and AD controller are in same subnet.

    nothing has changed in config.

    mail server host dns has

    search "elecref.local"
    nameserver = 192.168.0.78

    it used to work fine.

    if i login to the mailserver host, i can telnet fine into the ports 3268 and 143.

    it seems zimbra cant though.

    when i first installed zimbra, it was having probs resolving the short name, i.e. fserver, so i add the search entry and that sorted that out.

    i just did a test and not even specifying the FQDN went through.

    weird.

  4. #4
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    okay, thats good then but lets just have a quick check of things then
    Code:
    cat /etc/hosts
    cat /etc/resolv.conf
    dig yourserver.yourdomain.com
    dig yourdomain.com mx
    host `hostname` <- note backticks and not double quotes

  5. #5
    skiv71 is offline Active Member
    Join Date
    Oct 2008
    Posts
    30
    Rep Power
    6

    Default

    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.0.70 mx1.zimbra-elecref.co.uk mx1

    cat /etc/resolv.conf

    #
    # Modified_by: NetworkManager
    # Process: /usr/bin/NetworkManager
    # Process_id: 2811
    #
    ### END INFO

    search elecref.local


    nameserver 192.168.0.78

    dig mx1.zimbra-elecref.co.uk

    ; <<>> DiG 9.3.2 <<>> mx1.zimbra-elecref.co.uk
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16772
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;mx1.zimbra-elecref.co.uk. IN A

    ;; ANSWER SECTION:
    mx1.zimbra-elecref.co.uk. 3600 IN A 192.168.0.70

    ;; Query time: 0 msec
    ;; SERVER: 192.168.0.78#53(192.168.0.78)
    ;; WHEN: Sun Oct 26 09:55:42 2008
    ;; MSG SIZE rcvd: 58

    dig zimbra-elecref.co.uk mx

    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 19984
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;mx1. IN A

    ;; Query time: 2 msec
    ;; SERVER: 192.168.0.78#53(192.168.0.78)
    ;; WHEN: Sun Oct 26 09:57:08 2008
    ;; MSG SIZE rcvd: 21

    host mx1 then mx1.zimbra-elecref.co.uk
    mx1:~ # host 'mx1'
    Host mx1 not found: 2(SERVFAIL)
    mx1:~ # host 'mx1.zimbra-elecref.co.uk'
    mx1.zimbra-elecref.co.uk has address 192.168.0.70
    mx1:~ #

    oh i was just looking in the admin settings and due to migrating from another system i'm still routing external mail through 'fserver'.

    as i said email works fine so if it can resolv fserver and send mail on port 25 ok, why is it hit and miss (and now totally miss) in doing it for ldap and imap?

    also, how do i disable admin notifications of services stopping and starting. i had 8000 mails to this effect because i am running a replication to a backup server which stops and starts every hour.

    thanks

    neil

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Multiple-Server DNS settings
    By Vimm in forum Installation
    Replies: 2
    Last Post: 03-19-2007, 02:03 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
  •