<<< Date Index >>>     <<< Thread Index >>>

Re: mailbox close while accessing exchange over imap



On Friday, 30 November 2007 at 16:22, Jason Joines wrote:
> Subject: mailbox close while accessing exchange over imap
> From: Jason Joines <joines@xxxxxxxxxxx>
> To: mutt-users@xxxxxxxx
> Date: Fri Nov 30 14:37:52 2007
>>
>>    Any suggestions for other client side tweaks to help with this  
>> problem?  I don't administer the exchange server and getting those who  
>> do to even reveal any settings, much less change them, will be a  
>> nightmare.
>
>    I did a bit more checking.  With the imap_keepalive=600 option, the  
> IMAP TCP connection itself seems to stay open indefinitely via netstat.   
> The client then gets the "mailbox closed" message right at 30 minutes  
> after the last activity.

I think there's an open bug about this (and it does need fixing before
1.6). There are three different settings that can affect how often
mutt sends messages to the IMAP server:

$timeout
$mail_check
$imap_keepalive

The problem is that they are basically independent. imap_keepalive
works when mutt is not in a menu (eg while composing a message or
viewing something in the pager). When you're in the index, it doesn't
do anything. In this case, $timeout causes mutt to poll the current
mailbox for new mail every $timeout seconds (and mail_check controls
how often it interrogates other mailboxes).

There's an entry about this in the FAQ:

http://wiki.mutt.org/?MuttFaq/RemoteFolder