[dev] framework_3 search update

Eric Jon Rostetter eric.rostetter at physics.utexas.edu
Wed Jan 18 19:16:21 PST 2006


FYI update on the search code...

With the latest changes, the searches are basically working again as well
as before (I had problems before).

When I delete the last message on the search list, my web server process
crashes.  This is apparently due to the fact that the imap server gets a
second imap connection from me without closing the first imap connection,
and the imap server drops the first connection due to the conflict. Log
file shows:

Jan 18 21:09:12 mail1-internal imapd[30867]: Authenticated user=ericr  
host=web2-internal [172.16.78.23]
Jan 18 21:09:14 mail1-internal imapd[30867]: Logout user=ericr  
host=web2-internal [172.16.78.23]
Jan 18 21:09:36 mail1-internal imapd[30919]: Authenticated user=ericr  
host=web2-internal [172.16.78.23]
Jan 18 21:09:37 mail1-internal imapd[30922]: Authenticated user=ericr  
host=web2-internal [172.16.78.23]
Jan 18 21:09:37 mail1-internal imapd[30919]: Killed (lost mailbox  
lock) user=ericr host=web2-internal [172.16.78.23]
Jan 18 21:09:39 mail1-internal imapd[30922]: Logout user=ericr  
host=web2-internal [172.16.78.23]
Jan 18 21:09:41 mail1-internal imapd[30930]: Authenticated user=ericr  
host=web2-internal [172.16.78.23]
Jan 18 21:09:42 mail1-internal imapd[30930]: Logout user=ericr  
host=web2-internal [172.16.78.23]

This is probably something specific to UW-IMAP and similar imap daemons
that don't support multiple connections to the same mail store/user well,
but I'm betting we can find a way to close the first connection (from the
delete I would think) before we open the second (from the return to the
mailbox view).  I guess I should add that I have the settings so it returns
to the mailbox view when I delete the last message in a mailbox.

Also, when I do a "Purge Deleted" it doesn't purge the deleted messages
(refreshes with deleted messages still there).

-- 
Eric Rostetter
The Department of Physics
The University of Texas at Austin

Go Longhorns!


More information about the dev mailing list