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

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 08-11-2008, 02:07 PM
Loyal Member
 
Posts: 79
Default [SOLVED] Emails stuck in deffered since upgrade 5.07 -> 5.08

Hi!

I have a problem with my server here.

Since I upgraded from 5.07 to 5.08, all emails are stuck in the deffered queue.

I checked permissions. Ran chown -R zimbra:zimbra /opt/zimbra as root then ran /opt/zimbra/libexec/zmfixperms -verbose -extended as root to.

Restarted the zimbra service but still no go.

At one point, I noticed in /opt/zimbra/log/logger_mysql_error.log that it was complaining about some tables marked as crashed in /opt/zimbra/logger/db/data/zimbra_logger/. I ran /opt/zimbra/mysql/bin/myisamchk -r on the ones that wherer mentionned.

Now there are no more errors in the log file but still, I can't get the messages delivered.

Can any one help me?

Thanx!
Reply With Quote
  #2 (permalink)  
Old 08-11-2008, 02:42 PM
Moderator
 
Posts: 6,237
Default

What are the errors given when you send a mail in the /var/log/zimbra.log?
Reply With Quote
  #3 (permalink)  
Old 08-12-2008, 05:42 AM
Loyal Member
 
Posts: 79
Default

Hum... Bizare.

Here is the error I get:

Aug 12 08:39:33 courriel postfix/lmtp[30229]: 9DC3698270C: to=, relay=none, delay=0.04, delays=0.03/0.01/0/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=courriel.ccdmd.qc.ca type=A: Host not found, try again)

But since the upgrade nothing has changed on the DNS and the hosts file on the server is fine to.

And if I ping courriel.ccdmd.qc.ca from the command line on the server it resolves...

Any idea?

Thanx!
Reply With Quote
  #4 (permalink)  
Old 08-12-2008, 05:58 AM
Loyal Member
 
Posts: 79
Default

Ho well...

It seems to work now. I just restarted the DNS server.

Thanx for your help.
Reply With Quote
  #5 (permalink)  
Old 08-12-2008, 06:04 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Your external DNS records seem a bit confused. If I do a dig I get the following results:

Code:
dig ccdmd.qc.ca mx                     

; <<>> DiG 9.4.2-P1 <<>> ccdmd.qc.ca mx
;; global options:  printcmd           
;; Got answer:                         
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 46932
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;ccdmd.qc.ca.                   IN      MX

;; ANSWER SECTION:
ccdmd.qc.ca.            604686  IN      MX      10 courriel.ccdmd.qc.ca.

;; AUTHORITY SECTION:
ccdmd.qc.ca.            604556  IN      NS      ns1.ccdmd.qc.ca.
ccdmd.qc.ca.            604556  IN      NS      ns1.profweb.qc.ca.

;; ADDITIONAL SECTION:
courriel.ccdmd.qc.ca.   604556  IN      A       206.167.74.18
ns1.profweb.qc.ca.      604556  IN      A       206.167.74.14

;; Query time: 0 msec
;; SERVER: 192.168.1.6#53(192.168.1.6)
;; WHEN: Tue Aug 12 15:04:11 2008
;; MSG SIZE  rcvd: 130
however, the results from an nslookup produce the following:

Code:
nslookup mx ccdmd.qc.ca
Server:         ccdmd.qc.ca
Address:        206.167.74.5#53
What do the following commands return when run on the zimbra server:

Code:
cat /etc/hosts
cat /etc/resolv
dig ccdmd.qc.ca mx
dig ccdmd.qc.ca any
host `hostname`  <-- type as-is with backticks not single quotes.
post the output here.
__________________
Regards


Bill
Reply With Quote
  #6 (permalink)  
Old 08-28-2008, 05:15 AM
Loyal Member
 
Posts: 79
Default

Thanx a lot phoenix for your reply.

The problem is now fixed.

The problem was on my main DNS server. I made an error in that particular zone and since only the main DNS server was configured in the resolv.conf file of my server, no name resolution could be performed on any incoming emails.

But I found my mistake, corrected it and also added the second DNS server in resolv.conf on all of my servers.

Bad mistake!

Thanx again for your time to you and to mmorse!

Jonathan
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.