Tuesday, August 28, 2018

Getting Mailbox doesn't exist for existent mailbox

Leave a Comment

I am facing a weird issue where a mailbox is being shown in the LIST command but when I select it, it says "Mailbox doesn't exist". I am also allowed to select the child folder.

x login <email> <pwd> x OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY NOTIFY METADATA QUOTA] Logged in x list "" "*" * LIST (\HasChildren) "/" ABC * LIST (\HasNoChildren \UnMarked) "/" ABC/aaa * LIST (\HasChildren \UnMarked) "/" Spam * LIST (\HasChildren) "/" INBOX * ... other mailboxes x OK List completed (0.026 + 0.000 + 0.025 secs). 

Selecting ABC mailbox gives mailbox doesn't exist, but not for it's child folder:

x SELECT "ABC" x NO Mailbox doesn't exist: ABC (0.006 + 0.000 + 0.005 secs).  x SELECT "ABC/aaa" * FLAGS (\Answered \Flagged \Deleted \Seen \Draft) * OK [PERMANEN.... 

Selecting Spam or INBOX or any other folder works:

x SELECT "Spam" * FLAGS (\Answered \Flagged \Deleted \Seen \Draft) * OK [PERMANENTFLAGS (\Answered \Flagged \Delete  x SELECT "INBOX" * OK [CLOSED] Previous mailbox closed. * FLAGS (\Answered \Flagged \Deleted \Seen \Draft $Forwarded $cl_1 $cl_2) * OK [PERMANENTFLAG... 

Can someone help me to understand what is happening?

0 Answers

If You Enjoyed This, Take 5 Seconds To Share It

0 comments:

Post a Comment