>> Looks like a $delimiter issue incompatibility between devel and Mercury.
>> You could try to force it instead of detect. I'll try to setup one and
>> see, except if someone else wants to pick this one up.
>>
> The problem is there is *no* delimiter...every folder is at the same
> level, hence the lack of a folder delimiter.  I tried forcing it to '.'
> and '/' and neither worked.
There is... It is actually '/'. You need to logout/login after changing
the delimiter since it is cached in the session.
Anyway, you have spotted a bug in devel, congrats ;) The code which takes
care of delimiter autodetection wasn't upgraded to match the imap backend
changes. This is fixed now, but you will need to wait at least 24h if you
want to grab a working snapshot. In the mean time, I'm attaching the patch
(it merely adds one line in imap_general.php ;)

> Is replacing the search function by hand something I can do in 200 steps
> or less? ;-)
It's very easy (2 steps or less ;). There are 2 files to take care of:
functions/imap_asearch.php, new file, must be copied
src/search.php, will replace the old search.php, so make a backup before ;)
I have removed a small dependency I recently introduced, so, again, if you
wait 24h, you'll get that version from cvs pserver or snapshot. In the
mean time, if needed, I can send you the 2 files offlist.

Good luck,
Alex.
Index: imap_general.php
===================================================================
RCS file: /cvsroot/squirrelmail/squirrelmail/functions/imap_general.php,v
retrieving revision 1.168
retrieving revision 1.169
diff -u -w -r1.168 -r1.169
--- imap_general.php    24 Jul 2003 21:23:18 -0000      1.168
+++ imap_general.php    27 Jul 2003 00:32:34 -0000      1.169
@@ -761,6 +761,7 @@
         } else {
             fputs ($imap_stream, ". LIST \"INBOX\" \"\"\r\n");
             $read = sqimap_read_data($imap_stream, '.', true, $a, $b);
+            $read = $read['.'][0];     //sqimap_read_data() now returns a tag array 
of response array
             $quote_position = strpos ($read[0], '"');
             $sqimap_delimiter = substr ($read[0], $quote_position+1, 1);
         }

Reply via email to