25 messages in net.sourceforge.lists.courier-users[courier-users] Re: imap: refresh lis...
FromSent OnAttachments
Pablo SabatinoJan 16, 2001 11:19 pm 
Pablo SabatinoJan 17, 2001 12:20 am 
Pablo SabatinoJan 17, 2001 2:03 am 
Daniel BiddleJan 17, 2001 5:48 am 
Daniel BiddleJan 17, 2001 6:54 am 
sebJan 17, 2001 7:11 am 
Tabor J. WellsJan 17, 2001 7:20 am 
jsay...@mediaone.netJan 17, 2001 7:51 am 
Sam VarshavchikJan 17, 2001 2:42 pm 
Sam VarshavchikJan 17, 2001 2:43 pm 
sebJan 17, 2001 3:04 pm 
Sam VarshavchikJan 17, 2001 3:16 pm 
sebJan 17, 2001 3:45 pm 
Sam VarshavchikJan 17, 2001 4:23 pm 
John MillerJan 17, 2001 6:36 pm 
Pablo SabatinoJan 17, 2001 11:53 pm 
sebJan 18, 2001 3:14 am 
Sam VarshavchikJan 18, 2001 4:56 am 
sebJan 18, 2001 5:47 am 
John Edward MillerJan 18, 2001 8:32 am 
Patrick PriceJan 18, 2001 9:29 am 
Tomas FasthJan 18, 2001 12:33 pm 
Tomas FasthJan 18, 2001 12:44 pm 
Sam VarshavchikJan 18, 2001 2:36 pm 
Sam VarshavchikJan 18, 2001 2:40 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Re: imap: refresh list with ns - bad courierimapsubscribedActions...
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Jan 18, 2001 2:40:15 pm
List:net.sourceforge.lists.courier-users

John Edward Miller writes:

Unsubscribe to a folder before renaming it, or do not use folder subscriptions.

This doesn't solve the root problem, that is, that when a user renames INBOX.folder1 to INBOX.folder2 the client software expects INBOX.folder1.subfolder1 to become INBOX.folder2.subfolder1, etc.

If "folder1" is a subfolder directory, the IMAP client should refer to it as "INBOX.folder1." -- with a trailing folder hierarchy separator character:

a LIST "" "INBOX.folder1*" * LIST (\HasNoChildren) "." "INBOX.folder1.subfolder1" * LIST (\Noselect \HasChildren) "." "INBOX.folder1" a OK LIST completed a RENAME "INBOX.folder1." "INBOX.folder2." a OK Folder renamed. a LIST "" "INBOX.folder2*" * LIST (\HasNoChildren) "." "INBOX.folder2.subfolder1" * LIST (\Noselect \HasChildren) "." "INBOX.folder2" a OK LIST completed

As you recall, you would create a folder directory by executing "CREATE INBOX.folder1.", and not "CREATE INBOX.folder1", which creates a folder. Therefore, if you executed "CREATE INBOX.folder1." to create this folder directory, it logically follows that to rename it, you would you the same name when renaming it.