Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Desktop > General Questions

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 09-29-2011, 03:52 PM
Starter Member
 
Posts: 2
Default 300 second timeout on POP sync/download

How can I increase the default 300 second timeout for POP syncs/downloads in the Zimbra Desktop app?

I'm dealing with a very slow Exchange server through Davmail and after examining the Davmail logs, I can download about 12MB of any particular message before the connection is closed by the client. This corresponds to a 300 second interval in the log file from initiation of download to automatic connection closure.

Some of my attachments excceed 20MB, so I'd like to know how I can modify this 'feature' and access all the files in my mailbox.

Here's an example error log.


Product name: Zimbra Desktop
Product version: 7.1.2
Build ID: 10978
Release type: GA
OS Platform: Linux i386 2.6.35-22-generic
Time of event: 2011-09-28 10:46:54
Error type: Read timed out
Item ID: 1
Error summary: Sync failed due to IOException for the following items
Items will be retried on next sync
Item Id: 138 Message: pop sync fail
Failure details - PLEASE REMOVE ANY SENSITIVE INFORMATION
----------------------------------------------------------------------------

java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream. java:129)
at java.io.BufferedInputStream.fill(BufferedInputStre am.java:218)
at java.io.BufferedInputStream.read(BufferedInputStre am.java:237)
at com.zimbra.cs.mailclient.MailInputStream.read(Mail InputStream.java:114)
at com.zimbra.cs.mailclient.pop3.ContentInputStream.f illBuffer(ContentInputStream.java:72)
at com.zimbra.cs.mailclient.pop3.ContentInputStream.r ead(ContentInputStream.java:40)
at com.zimbra.cs.mailclient.pop3.ContentInputStream.s kipRemaining(ContentInputStream.java:62)
at com.zimbra.cs.mailclient.pop3.ContentInputStream.c lose(ContentInputStream.java:58)
at com.zimbra.cs.datasource.Pop3Sync.fetchAndAddMessa ge(Pop3Sync.java:285)
at com.zimbra.cs.datasource.Pop3Sync.fetchAndRetainMe ssages(Pop3Sync.java:230)
at com.zimbra.cs.datasource.Pop3Sync.importData(Pop3S ync.java:129)
at com.zimbra.cs.datasource.DataSourceManager.importD ata(DataSourceManager.java:312)
at com.zimbra.cs.datasource.DataSourceManager.importD ata(DataSourceManager.java:276)
at com.zimbra.cs.mailbox.DataSourceMailbox.syncAllLoc alDataSources(DataSourceMailbox.java:442)
at com.zimbra.cs.mailbox.DataSourceMailbox.sync(DataS ourceMailbox.java:480)
at com.zimbra.cs.mailbox.DataSourceMailbox.syncOnTime r(DataSourceMailbox.java:409)
at com.zimbra.cs.mailbox.SyncMailbox$1.run(SyncMailbo x.java:257)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)

Thanks!
Reply With Quote
  #2 (permalink)  
Old 10-04-2011, 01:18 PM
Zimbra Employee
 
Posts: 98
Default

You can try adding this to <user data>/conf/localconfig.xml


Code:
  <key name="javamail_pop3_timeout">
    <value>600</value>
  </key>
The value is expressed in seconds.

You will need to restart ZD after making the change.
Reply With Quote
  #3 (permalink)  
Old 10-09-2011, 10:06 AM
Starter Member
 
Posts: 2
Default

This suggestion solved the issue conclusively. Thanks for your help!
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.