8 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Re: IMAP: auto re...
FromSent OnAttachments
robartJun 4, 2001 4:25 pm 
Sam VarshavchikJun 4, 2001 6:50 pm 
sebastien RobartJun 5, 2001 1:19 am 
Sam VarshavchikJun 5, 2001 4:45 am 
sebastien RobartJun 5, 2001 5:45 am 
Sam VarshavchikJun 5, 2001 2:42 pm 
robartJun 6, 2001 3:14 pm 
Sam VarshavchikJun 6, 2001 3:28 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:Re: [courier-users] Re: IMAP: auto repair maildirActions...
From:robart (rob@h3d.com)
Date:Jun 6, 2001 3:14:55 pm
List:net.sourceforge.lists.courier-users

yes (i reread rfc:)) . But both netscape and outlook have difficulty with folder .toto.tata without a folder .toto .

Not my copy of Netscape. Works just fine.

The bug that i have found in imap/imapd.c line 1198 "if (!ishier)" -> "if (ishier)", is it a real bug or is code valid ?

No, it's not a bug.

from rfc. "If the name has inferior hierarchical names, then the inferior hierarchical names MUST also be renamed. For example, a rename of "foo" to "zap" will rename "foo/bar" (assuming "/" is the hierarchy delimiter character) to "zap/bar"." I am sorry, but this is actually not the case. It will only rename foo to zap. (if u say "no it work with me"... )

Except that "foo" and "foo." are two completely different things. Back up a page and see what it says about "CREATE foo" versus "CREATE foo.".

hmm. i don't see why with courrier-imap "foo" and "foo." are two different things. CREATE "INBOX.foo." say OK but doesn't create anything with me. I have look my Maildir, i have 0 folder with "." to end, so LIST "" "INBOX.%" never return folder finish with ".", and so don't see when RENAME function will be call by a mail prog with folder ending by ".".

just a telnet session :

* OK Courier-IMAP ready. Copyright 1998-2001 Double Precision, Inc. See COPYING for distribution information. 1 login "ttt" "xxx" 1 OK LOGIN Ok. 2 list "" "INBOX.%" * LIST (\HasNoChildren) "." "INBOX.Trash" 2 OK LIST completed. 3 list "" "INBOX.%.%" 3 OK LIST completed. 4 create "INBOX.foo." 4 OK "INBOX.foo." created. <- but it create nothing (on disk) 5 list "" "INBOX.%" * LIST (\HasNoChildren) "." "INBOX.Trash" 5 OK LIST completed. 6 list "" "INBOX.%.%" 6 OK LIST completed. 7 create "INBOX.foo.zap" 7 OK "INBOX.foo.zap" created. <- ok but it doesn't create INBOX.foo (on disk). rfc :"the server SHOULD create any superior hierarchical names..." 8 list "" "INBOX.%" * LIST (\HasNoChildren) "." "INBOX.Trash" * LIST (\Noselect \HasChildren) "." "INBOX.foo" 8 OK LIST completed. 9 list "" "INBOX.%.%" * LIST (\HasNoChildren) "." "INBOX.foo.zap" 9 OK LIST completed. 10 rename "INBOX.foo" "INBOX.la" 10 OK Folder renamed. <- ? it rename nothing 11 list "" "INBOX.%" * LIST (\HasNoChildren) "." "INBOX.Trash" * LIST (\Noselect \HasChildren) "." "INBOX.foo" 11 OK LIST completed. 12 list "" "INBOX.%.%" * LIST (\HasNoChildren) "." "INBOX.foo.zap" 12 OK LIST completed. 13 create "INBOX.foo" 13 OK "INBOX.foo" created. 14 list "" "INBOX.%" * LIST (\HasChildren) "." "INBOX.foo" * LIST (\HasNoChildren) "." "INBOX.Trash" 14 OK LIST completed. 15 list "" "INBOX.%.%" * LIST (\HasNoChildren) "." "INBOX.foo.zap" 15 OK LIST completed. 16 rename "INBOX.foo" "INBOX.la" <- ok , only rename superior folder 16 OK Folder renamed. 17 list "" "INBOX.%" * LIST (\HasNoChildren) "." "INBOX.la" * LIST (\HasNoChildren) "." "INBOX.Trash" * LIST (\Noselect \HasChildren) "." "INBOX.foo" 17 OK LIST completed. 18 list "" "INBOX.%.%" * LIST (\HasNoChildren) "." "INBOX.foo.zap" 18 OK LIST completed. 19 rename "INBOX.la" "INBOX.foo" 19 OK Folder renamed. 20 rename "INBOX.foo." "INBOX.la." 20 OK Folder renamed. <- ok, only rename "inferior" folder 21 list "" "INBOX.%" * LIST (\HasNoChildren) "." "INBOX.foo" * LIST (\HasNoChildren) "." "INBOX.Trash" * LIST (\Noselect \HasChildren) "." "INBOX.la" 21 OK LIST completed. 22 list "" "INBOX.%.%" * LIST (\HasNoChildren) "." "INBOX.la.zap" 22 OK LIST completed.

Don't know how rename a complete folder with subfolder. Maybe this telnet session is correct. i give up.

seb