Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-26-2008, 01:42 AM
Active Member
 
Posts: 30
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
Reply With Quote
  #2 (permalink)  
Old 10-26-2008, 01:50 AM
Moderator
 
Posts: 7,928
Default

Quote:
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.
__________________
Reply With Quote
  #3 (permalink)  
Old 10-26-2008, 02:10 AM
Active Member
 
Posts: 30
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.
Reply With Quote
  #4 (permalink)  
Old 10-26-2008, 02:22 AM
Moderator
 
Posts: 7,928
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
__________________
Reply With Quote
  #5 (permalink)  
Old 10-26-2008, 03:04 AM
Active Member
 
Posts: 30
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.