Hello,
I have a problem with Lotus Notes IMAP folders.
Our Notes is version 7.04.
RC show me imap folders correctly but I cann't move mails between folders.
("NO SELECT failure, cannot select mailbox: Folder not found in IMAP name space" error occured)
imap settings for root and delimiter are below:
$rcmail_config['imap_root'] = null;
$rcmail_config['imap_delimiter'] = '\\';
I guess RC use wrong delimiter("\\\" ) when select folders. but when I wrote "null" for delimiter, RC couldn't get mails in folders.
What settings should I write for imap folder?
imap debug log:
[05-Oct-2010 19:37:39 +0900]: S: * OK Domino IMAP4 Server Release 7.0.4FP2 ready Tue, 5 Oct 2010 19:37:39 +0900
[05-Oct-2010 19:37:39 +0900]: C: cp01 CAPABILITY
[05-Oct-2010 19:37:39 +0900]: S: * CAPABILITY IMAP4rev1 AUTH=PLAIN LITERAL+ NAMESPACE QUOTA UIDPLUS
[05-Oct-2010 19:37:39 +0900]: S: cp01 OK CAPABILITY completed
[05-Oct-2010 19:37:39 +0900]: C: a001 LOGIN "USERNAME" "PASSWORD"
[05-Oct-2010 19:37:39 +0900]: S: a001 OK LOGIN completed
[05-Oct-2010 19:37:39 +0900]: C: ns1 NAMESPACE
[05-Oct-2010 19:37:39 +0900]: S: * NAMESPACE (("" "\\")) (("Other Users\\" "\\")) (("Public Folders\\" "\\"))
[05-Oct-2010 19:37:39 +0900]: S: ns1 OK NAMESPACE completed
[05-Oct-2010 19:37:39 +0900]: C: I LOGOUT
*snip*
[05-Oct-2010 19:37:42 +0900]: C: sel1 SELECT "INBOX"
[05-Oct-2010 19:37:42 +0900]: S: a001 OK LOGIN completed
[05-Oct-2010 19:37:42 +0900]: C: lsb LSUB "" "*"
[05-Oct-2010 19:37:42 +0900]: S: * 7 EXISTS
[05-Oct-2010 19:37:42 +0900]: S: * 0 RECENT
[05-Oct-2010 19:37:42 +0900]: S: * OK [UNSEEN 5] Message 5 is first unseen
[05-Oct-2010 19:37:42 +0900]: S: * OK [UIDVALIDITY 10] UIDs valid
[05-Oct-2010 19:37:42 +0900]: S: * OK [UIDNEXT 45965] Predicted next UID
[05-Oct-2010 19:37:42 +0900]: S: * FLAGS (\Flagged \Seen \Answered \Deleted \Draft)
[05-Oct-2010 19:37:42 +0900]: S: * OK [PERMANENTFLAGS (\Flagged \Seen \Answered \Deleted \Draft \*)] Permanent flags
[05-Oct-2010 19:37:42 +0900]: S: sel1 OK [READ-WRITE] SELECT completed
[05-Oct-2010 19:37:42 +0900]: C: fuid FETCH 7 (UID)
[05-Oct-2010 19:37:42 +0900]: S: * LSUB () "\\" {25}
*snip*
[05-Oct-2010 19:37:42 +0900]: S: * LSUB () "\\" ISend
[05-Oct-2010 19:37:42 +0900]: S: * LSUB () "\\" Junk
[05-Oct-2010 19:37:42 +0900]: S: * LSUB () "\\" Trash
[05-Oct-2010 19:37:42 +0900]: S: lsb OK LSUB completed
[05-Oct-2010 19:37:42 +0900]: C: sel1 SELECT "INBOX"
[05-Oct-2010 19:37:42 +0900]: S: * 7 FETCH (UID 45964)
[05-Oct-2010 19:37:42 +0900]: S: fuid OK FETCH completed
[05-Oct-2010 19:37:42 +0900]: C: fhi0 FETCH 1:* (INTERNALDATE)
[05-Oct-2010 19:37:42 +0900]: S: * 7 EXISTS
[05-Oct-2010 19:37:42 +0900]: S: * 0 RECENT
[05-Oct-2010 19:37:42 +0900]: S: * OK [UNSEEN 5] Message 5 is first unseen
[05-Oct-2010 19:37:42 +0900]: S: * OK [UIDVALIDITY 10] UIDs valid
[05-Oct-2010 19:37:42 +0900]: S: * OK [UIDNEXT 45965] Predicted next UID
[05-Oct-2010 19:37:42 +0900]: S: * FLAGS (\Flagged \Seen \Answered \Deleted \Draft)
[05-Oct-2010 19:37:42 +0900]: S: * OK [PERMANENTFLAGS (\Flagged \Seen \Answered \Deleted \Draft \*)] Permanent flags
[05-Oct-2010 19:37:42 +0900]: S: sel1 OK [READ-WRITE] SELECT completed
[05-Oct-2010 19:37:42 +0900]: C: srch1 SEARCH ALL UNSEEN
[05-Oct-2010 19:37:42 +0900]: S: * SEARCH 5
[05-Oct-2010 19:37:42 +0900]: S: srch1 OK SEARCH completed
[05-Oct-2010 19:37:42 +0900]: C: sel1 SELECT "\\\" ISend"
[05-Oct-2010 19:37:42 +0900]: S: * 3 FETCH (INTERNALDATE "12-Apr-2010 19:53:30 +0000")
[05-Oct-2010 19:37:42 +0900]: S: * 5 FETCH (INTERNALDATE "22-Sep-2010 11:56:11 +0000")
[05-Oct-2010 19:37:42 +0900]: S: * 1 FETCH (INTERNALDATE "28-Jul-2009 23:42:40 +0000")
[05-Oct-2010 19:37:42 +0900]: S: * 6 FETCH (INTERNALDATE "01-Oct-2010 02:27:22 +0000")
[05-Oct-2010 19:37:42 +0900]: S: * 4 FETCH (INTERNALDATE "15-Apr-2010 14:48:46 +0000")
[05-Oct-2010 19:37:42 +0900]: S: * 7 FETCH (INTERNALDATE "05-Oct-2010 00:24:21 +0000")
[05-Oct-2010 19:37:42 +0900]: S: * 2 FETCH (INTERNALDATE "28-Jul-2009 02:13:26 +0000")
[05-Oct-2010 19:37:42 +0900]: S: fhi0 OK FETCH completed
[05-Oct-2010 19:37:42 +0900]: C: FH12 FETCH 2,1,3,4,5,6,7 (UID RFC822.SIZE FLAGS INTERNALDATE BODY.PEEK[HEADER.FIELDS (DATE FROM TO SUBJECT REPLY-TO IN-REPLY-TO CC BCC CONTENT-TRANSFER-ENCODING CONTENT-TYPE MESSAGE-ID REFERENCES DISPOSITION-NOTIFICATION-TO X-PRIORITY X-DRAFT-INFO)])
[05-Oct-2010 19:37:42 +0900]: S: sel1 NO SELECT failure, cannot select mailbox: Folder not found in IMAP name space
[05-Oct-2010 19:37:42 +0900]: C: sel1 SELECT "\\\" Junk"
[05-Oct-2010 19:37:42 +0900]: S: sel1 NO SELECT failure, cannot select mailbox: Folder not found in IMAP name space
This is a bug. Please, open a ticket in Roundcube bug tracker Roundcube Webmail (http://trac.roundcube.net/).
Check with this patch:
--- rcube_imap_generic.php (wersja 4039)
+++ rcube_imap_generic.php (kopia robocza)
@@ -434,7 +434,6 @@
$line = $this->readLine(1024);
if (preg_match('/^\* NAMESPACE/', $line)) {
$i = 0;
- $line = $this->unEscape($line);
$data = $this->parseNamespace(substr($line,11), $i, 0, 0);
}
} while (!$this->startsWith($line, 'ns1', true, true));
@@ -512,7 +511,6 @@
$line = $this->readLine(1024);
if (preg_match('/^\* NAMESPACE/', $line)) {
$i = 0;
- $line = $this->unEscape($line);
$data = $this->parseNamespace(substr($line,11), $i, 0, 0);
}
} while (!$this->startsWith($line, 'ns1', true, true));
Here's complete fix: Changeset 4041 ? Roundcube Webmail (http://trac.roundcube.net/changeset/4041)
Hi alec
Thank you for your quick relpy and great support.
I will try patched one.
Hi alec,
Thank you for your information.
I have replaced rcube_imap_generic.php and RC has called folder names correctly.
Thank you again.