[Dovecot] Timeout during imapsync

Timo Sirainen tss at iki.fi
Fri May 29 00:12:14 EEST 2009


On Thu, 2009-05-28 at 14:17 -0500, Craig Jackson wrote:
> Hi,
> 
> I'm using Imapsync to sync messages from an Exchange 2003 server to a
> Dovecot 1.1.11 server. The problem is that users' mailboxes are huge,
> several gigabytes with tens of thousands of messages. First Imapsync
> connects to Exchange and then to Dovecot, and then starts to get Inbox
> info from Exchange. By the time it gets this info, the connection to
> Dovecot has timed out. I realize the RFC calls for a 30 minute time out
> which I believe is hard coded into Dovecot. If there is a way around
> this by making a configuration change, please tell me.

You could recompile Dovecot with smaller timeout. src/imap/common.h:

/* Disconnect client after idling this many milliseconds */
#define CLIENT_IDLE_TIMEOUT_MSECS (60*30*1000)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090528/8598cd9f/attachment.bin 


More information about the dovecot mailing list