[imapfilter-devel]large number of messages causes problems

Lefteris Chatzibarbas lefcha at hellug.gr
Sat Apr 12 15:15:02 EEST 2003


On Thu, Apr 10, 2003 at 09:58:52AM -0700, Joseph Vaughan wrote:
> I've been using your excellent program to connect to an Exchange 5.5
> server.  I was getting this message:
> 
> imapfilter: timeout period expired while waiting data
> 
> (and, in verbose mode, the SEARCH command was failing)
> 
> when I reduced the number of messages in the inbox from 509 to 10,
> things worked fine.
> 
> I don't know if this is an issue with the server (which otherwise is
> working fine) or with imapfilter, so I thought I should report it.

Probably the SEARCH query you are sending along with the number (500+) of
messages in the mailbox, make it hard for the server to compute and respond.
So you get a "timeout period expired"; imapfilter stops waiting for data
from the server.

Just for testing, don't set the "timeout" variable, to block indefinitely,
and see when the server will respond.

Try not keeping so many messages in your mailbox (maybe move them to another
mailbox when they are older than a month/week/etc.), because it takes a lot
of resources for the server to search them.




More information about the Imapfilter-devel mailing list