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 08-11-2009, 11:47 PM
Elite Member
 
Posts: 440
Default Mail delivery is very slow

Hi,

Our customer are facing problem with mail delivery...mail delivery is taking around 1 hour... in defered queue i found more than 2000 mails regarding over quota....!!

and in avtive queue ..more than 40 mails r in queue..


I searched this issue in forum...and set below setting as per suggestion to bounced back mail if mailbox is full :


zmprov mcf zimbraLmtpPermanentFailureWhenOverQuota TRUE


And its working...but the message format is :

test@example.com>: host mail.example.com[PRIVATE IP ADDRESS OF MAIL SERVER] said: 552 5.2.2
Over quota (in reply to end of DATA command)



So in this mail its showing proviate ip address of mail server next t odomain name....how can we remove that ?


IS there any other stuff i need to check if mails are getting delivered late ??

Please help.
Reply With Quote
  #2 (permalink)  
Old 08-11-2009, 11:50 PM
Elite Member
 
Posts: 440
Default

One more thing...we have one email id backup@example.com...where all clients mails are getting forward and client downloading those mail on daily base on their local disk and taking backup of the pst....


I found that in active queue ...number of count of mails for this ID is very high ..more than 60. Is there any way where we can set low priority for the mail delivery for this specific email ID ? OR any specific duration ?

Please help.


Thanks .
Reply With Quote
  #3 (permalink)  
Old 08-11-2009, 11:53 PM
Moderator
 
Posts: 7,928
Default

Slow mail delivery could be due to a mis-configured DNS especially when performing RBL lookups.
__________________
Reply With Quote
  #4 (permalink)  
Old 08-12-2009, 01:35 AM
Elite Member
 
Posts: 440
Default

Hi Uxbod,

Thanks for your reply...as u mentioned it can be the dns misconfiguration..but we started facing this issue from last 1 week...before that it was fine...i never seen 100 mails in ACTIVE queue....but still i ll cross check DNS config

can u pls tell me how can we remove private ip from the message and is it possible to prorities the mail delivery for any specific email id ?

Please help.


Thanks
Reply With Quote
  #5 (permalink)  
Old 08-12-2009, 01:40 AM
Moderator
 
Posts: 7,928
Default

I don't think you can; but you should also not be getting a high queue anyway. This would indicate it is related to your original question. If you increase the log_level for Amavis you should be able to track down where the time is taken to process each email.
__________________
Reply With Quote
  #6 (permalink)  
Old 08-12-2009, 02:14 AM
Elite Member
 
Posts: 440
Default

hmmm....ya i have increased the log level for amavis for log level 2 in /opt/zimbra/conf/amavisd.conf.in and restarted zmamavisdctl and zmloggerctl services...is that ok ?

hey i am keep getting below logs in my zimbra.log :


Aug 12 14:40:09 mail postfix/qmgr[4858]: 7147BD4122: to=<user@example.com>, relay=none, delay=0.85, delays=0.85/0.01/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused)

Aug 12 14:40:09 mail postfix/qmgr[4858]: 7147BD4122: to=<user@rediffmail.com>, relay=none, delay=0.85, delays=0.85/0.01/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused)


pls suggest..
Reply With Quote
  #7 (permalink)  
Old 08-12-2009, 02:16 AM
Moderator
 
Posts: 7,928
Default

Check /var/log/zimbra.log as Amavis does not appear to be starting up.
__________________
Reply With Quote
  #8 (permalink)  
Old 08-12-2009, 02:43 AM
Elite Member
 
Posts: 440
Default

Hey.i am checking zimbra.log continously...r u talking about below type of logs :

ug 12 15:04:37 mail amavis[16394]: (16394-15) TIMING [total 4752 ms] - SMTP greeting: 1 (0%)0, SMTP EHLO: 1 (0%)0, SMTP pre-MAIL: 0 (0%)0, lookup_ldap: 4 (0%)0, lookup_ldap: 3 (0%)0, SMTP pre-DATA-flush: 1 (0%)0, SMTP DATA: 32 (1%)1, check_init: 0 (0%)1, digest_hdr: 0 (0%)1, digest_body: 0 (0%)1, gen_mail_id: 0 (0%)1, mime_decode: 4 (0%)1, get-file-type1: 15 (0%)1, decompose_part: 1 (0%)1, parts_decode: 0 (0%)1, check_header: 1 (0%)1, AV-scan-1: 2 (0%)1, spam-wb-list: 2 (0%)1, SA parse: 2 (0%)1, SA check: 4657 (98%)99, update_cache: 4 (0%)100, decide_mail_destiny: 1 (0%)100, fwd-connect: 6 (0%)100, fwd-mail-pip: 4 (0%)100, fwd-rcpt-pip: 0 (0%)100, fwd-data-chkpnt: 0 (0%)100, write-header: 0 (0%)100, fwd-data-contents: 0 (0%)100, fwd-end-chkpnt: 4 (0%)100, prepare-dsn: 1 (0%)100, main_log_entry: 4 (0%)100, SMTP pre-response: 0 (0%)100, SMTP response: 0 (0%)100, unlink-1-files: 0 (0%)100, rundown: 0 (0%)100
Aug 12 15:04:37 mail amavis[16394]: (16394-15) Requesting process rundown after 20 tasks (and 15 sessions)


###########################################

one more thing i hav eobserved that most of the mails are getting stuck in defered queue with below error details :

1. delivery temporaly suspended [127.0.0.1] connection timeout
2. mail transport unavalible
3 . lost connection with server while receviing initial greeting from server


Pls suggest
Reply With Quote
  #9 (permalink)  
Old 08-12-2009, 02:45 AM
Elite Member
 
Posts: 440
Default

one more thing...i was getting below error

Aug 12 08:57:18 mail amavis[9518]: Net::Server: Accept failed with 13 tries left: Invalid argument
Aug 12 08:57:19 mail amavis[9518]: Net::Server: Accept failed with 12 tries left: Invalid argument
Aug 12 08:57:20 mail amavis[9518]: Net::Server: Accept failed with 11 tries left: Invalid argument
Aug 12 08:57:21 mail amavis[9518]: Net::Server: Accept failed with 10 tries left: Invalid argument
Aug 12 08:57:22 mail amavis[9518]: Net::Server: Accept failed with 9 tries left: Invalid argument
Aug 12 08:57:23 mail amavis[9518]: Net::Server: Accept failed with 8 tries left: Invalid argument
Aug 12 08:57:24 mail amavis[9518]: Net::Server: Accept failed with 7 tries left: Invalid argument
Aug 12 08:57:25 mail amavis[9518]: Net::Server: Accept failed with 6 tries left: Invalid argument
Aug 12 08:57:26 mail postfix/postsuper[12361]: B19EFD4596: removed
Aug 12 08:57:26 mail postfix/postsuper[12361]: B2F47D4234: removed
Aug 12 08:57:26 mail postfix/postsuper[12361]: BE591D4460: removed
Aug 12 08:57:26 mail postfix/postsuper[12361]: B9684D43A4: removed
Aug 12 08:57:26 mail postfix/postsuper[12361]: B61DDD4302: removed
Aug 12 08:57:26 mail postfix/postsuper[12361]: B6071D4318: removed
Aug 12 08:57:26 mail postfix/postsuper[12361]: B0B05D423E: removed
Aug 12 08:57:26 mail postfix/postsuper[12361]: B1551D42C4: removed
Aug 12 08:57:26 mail postfix/postsuper[12361]: B90CCD4370: removed
Aug 12 08:57:26 mail postfix/postsuper[12361]: BFA9BD4496: removed
Aug 12 08:57:26 mail postfix/postsuper[12361]: BA166D410E: removed


and when i kill master amavisd service and restarted it..then it got removed....pls let me know wht can be the reason for connection time out error and transport unavalible..
Reply With Quote
  #10 (permalink)  
Old 08-12-2009, 02:49 AM
Moderator
 
Posts: 7,928
Default

Code:
SA check: 4657
What RBLs are you using and have you added any additional rules ?
__________________
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.