From 8753fc28ecb6ce5afeeb46af5902af9520fa0666 Mon Sep 17 00:00:00 2001 From: Brian White Date: Mon, 8 Aug 2011 23:07:31 -0400 Subject: [PATCH] Fix LIST response for Zimbra Thanks @jmoyers Closes #20 --- imap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imap.js b/imap.js index d9ef023..aab6afd 100644 --- a/imap.js +++ b/imap.js @@ -331,7 +331,7 @@ ImapConnection.prototype.connect = function(loginCb) { case 'LIST': var result; if (self.delim === null - && (result = /^\(\\Noselect\) (.+?) ".*"$/.exec(data[2]))) + && (result = /^\(\\No[sS]elect\) (.+?) ".*"$/.exec(data[2]))) self.delim = (result[1] === 'NIL' ? false : result[1].substring(1, result[1].length-1)); else if (self.delim !== null) {