![]() |
|
|
|||||||
| For more information about the ads and why they're here, please see the FAQ |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
Hi all.
After some testing I think that I found the problem. On my box that is, running courier-imap. If I try to rename a folder a new one gets created and subscribed to, but, here is the problem, the old folder name still shows up on the 'main' page because it's still subscribed to. I fixed it on my box by adding this to program/lib/imap.inc function iil_C_RenameFolder(&$conn, $from, $to){ $fp = $conn->fp; // MOD GunFro fputs($fp, "usub2 UNSUBSCRIBE \"".$from."\"\r\n"); fputs($fp, "sub2 SUBSCRIBE \"".$to."\"\r\n"); // MOD END if (fputs($fp, "r RENAME \"".$from."\" \"".$to."\"\r\n")){ do{ $line=iil_ReadLine($fp, 300); }while($line[0]!="r"); return (iil_ParseResult($line)==0); }else{ return false; } } One more thing, I wounder is there somewhere one can send this kind of information directly to the developers? /Gunnar |
|
#2
|
|||
|
|||
|
I just had that error when I renamed a folder.
The old one still gets displayed but my imap.inc file already includes your changes. I am running beta2. Is there any way to get that folder gone from the list? |
|
#3
|
|||
|
|||
|
Ok it seems to be a bug with the subscription of folders.
I am using dovecot as imap server whch got a .subscription file. Once I deleted that I had to renew all subscriptions but since the old folder is gone, it can't be selected again. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
| For more information about the ads and why they're here, please see the FAQ |