Subject: Question about LIST response

From: Tomas Fasth <[email-masked]>
Date: Sun, 25 Aug 1996 00:20:28 +0200

Mark,
the following dialog was snipped out of a session between a pair 
of c-client based client and server:

. OK LOGIN completed
. list "" ./mail/test/%
* LIST (\NoSelect) "/" ./mail/test/
* LIST (\NoSelect) "/" ./mail/test/subdir
* LIST (\NoInferiors) "/" ./mail/test/mailbox
. OK LIST completed

My question is: Why did the server respond with the line:
* LIST (\NoSelect) "/" ./mail/test/

This was not quite expected from the client side which was rather 
expecting the list command to return only the contents of 
mail/test, not including itself.

Is your implementation suggesting that the client should check for 
a trailing path delimiter to be able to supress this particular 
response.

Compare with a similar dialog using the CMU imap4 implementation:

. list "" inbox.test.%
* LIST () "." inbox.test.test
. OK LIST completed

Regards,

Tomas Fasth