I posted the fix on this problem last time.
Let me see if I can find it.

> Just changed from another webmail package to Squirrelmail,
> everything seems to work just fine except subscribing,
> unsubscribing, renaming, and deleting of folders. Creating folders
> works fine. Handling folders gives errors like

> ERROR : Could not complete request.
> Query: SUBSCRIBE "mail/Foomailbox[]=mail/Foo"
> Reason Given: SUBSCRIBE failed: Can't subscribe to mailbox
> mail/Foomailbox[]=mail/Foo: no such mailbox

Here is the fix.

>2/28/2003
>Author: Robert
>Fix for squirrelmail 1.2.11 IMAP folder deletion problems
>and folder truncation names during folder deletion problem.
>using redhat 8.0
> or
>caldera 3.1.1.
>using dbmail 1.1
>squirrelmail 1.2.11
>
>########################################################33
>
>../functions/tree.php   line 107
>changed from
>
>$position = strrpos($topFolderName, $delimiter) + 1;
>
>to
>
>$position = strrpos($topFolderName, $delimiter) + 0;//or remove 0 all the
way
>
>##########################################################
>fix for unsubscribe error during deletion of folders is
>
> ../functions/imap_mail_box.php line 183
>
> sqimap_unsubscribe ($imap_stream, $mailbox);
>
>to
>
>the line 183 being deleted.
>
>reason: deletes then unsubscribe, it shouldn't unsubscribe after
>the folder is already deleted!
>
>#############################################################
>fix for rename unsubscribe problems
>
>delete line 213 of ../functions/imap_mail_box.php
>
>reason: renames a folder then unsubscribe using old name, you can't because
>old name is gone.
>
>done.

Let me know if this fixes your problem.

Robert





-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to