<<< Date Index >>>     <<< Thread Index >>>

[Mutt] #3138: IMAP: backslashes as folder separator arent escaped



#3138: IMAP: backslashes as folder separator arent escaped
---------------------------------------------+------------------------------
 Reporter:  uspoerlein                       |       Owner:  brendan
     Type:  defect                           |      Status:  new    
 Priority:  minor                            |   Milestone:         
Component:  IMAP                             |     Version:  1.5.17 
 Keywords:  imap folder separator backslash  |  
---------------------------------------------+------------------------------
 Hi,

 I'm using mutt 1.5.17 on Ubuntu versus a Lotus Domino 6.5.6 (don't ask).
 While Thunderbird seems to cope very well with the IMAP quirks, mutt is
 interpreting the backslashes used to separate the folder structure one
 time too often.

 I subscribed to several folders, adn the mutt view is displaying something
 like:

 {{{

  1     IMAP                                  Drafts
  2     IMAP                                  Gemeinsame Ordner\

 }}}

 This is ok and true, \ is the path separator. I can even browse into the
 folder, but not open any subfolders, because the \ at the end is not take
 verbatim, but interpreted. A tcpdump of the IMAP session shows the problem
 very nicely:

 {{{

 a0004 LSUB "" "*"
 * LIST (\Noselect) "\\" ""
 * LSUB () "\\" Drafts
 * LSUB () "\\" "Gemeinsame Ordner"
 ...
 * LSUB () "\\" {35}
 Gemeinsame Ordner\Mailpool IT\Trash
 * LSUB () "\\" {35}
 Gemeinsame Ordner\Mailpool IT\Inbox
 a0004 OK LSUB completed
 ...
 a0036 STATUS "Gemeinsame OrdnerMailpool ITTrash" (UIDNEXT UIDVALIDITY
 UNSEEN RECENT)
 a0037 STATUS "Gemeinsame OrdnerMailpool ITInbox" (UIDNEXT UIDVALIDITY
 UNSEEN RECENT)
 a0036 NO STATUS Folder not found in IMAP name space
 a0037 NO STATUS Folder not found in IMAP name space

 }}}

 setting the folders up with the 'mailboxes' command works when using
 double backslash like this:

 {{{

 mailboxes \
 "+" \
 "+Gemeinsame Ordner\\Mailpool IT\\Trash" \
 "+Gemeinsame Ordner\\Mailpool IT\\Inbox"

 }}}

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3138>
Mutt <http://www.mutt.org/>
The Mutt mail user agent