Hi all

I have a Debian machine with Courier-IMAP as IMAP server and SquirrelMail
as mail client. Over the last couple of years I have accumulated mail
folders that I think are rather large. Everything worked fine as long as I
only **added** mails to these folders. However, when I recently started to
do some re-organization that involved moving around a lot of messages,
those move operations always caused SquirrelMail to report a "connection
dropped by IMAP server" error.

I soon found out that the "imapd" process simply took ages to process the
IMAP COPY command submitted by SquirrelMail. As a concrete example: It
took "imapd" approximately 3 minutes to process a COPY operation for a
request that tried to move the last (=oldest) 167 messages from a folder
that contained 6167 messages to the Trash. I verified this by running IMAP
commands in a manual telnet session, in order to rule out any interference
by the SquirrelMail client.

After some further trial&error investigation, I found out that the
immediate source of the problem was a directory named
"courierimapkeywords". In the example cited above, the
6167-messages-folder had a "couriermapkeywords" directory with a single
file named ":list" in it, that file seemed to contain entries for all 6167
messages in the mail folder. After experimentally deleting the ":list"
file, the COPY operation for 167 messages suddenly took no more than one
second or so.

I don't understand much about IMAP, nor Courier-IMAP, so my main question
to the experts on this list is: Is it reasonable to expect that, in the
scenario described above, Courier-IMAP would take 3 minutes to copy 167
messages?

If the answer is "no", I would like to find out why my system setup lets
Courier-IMAP behave in an unexpected manner. Suggestions for possible
causes would be very welcome.

If the answer is "maybe" :-) I am glad to provide further information.

If the answer is "yes", I am going to permanently disable Courier-IMAP's
keywords feature because I don't understand why I need it for my setup
anyway.

Thanks for your help
Patrick

System configuration:
- Debian = testing
- Linux kernel = 2.6.21, custom-built
- File system = ext3
- Courier-IMAP = 4.2.0



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to