Skip to content

IMAP Mailbox Naming

Joe Keenan edited this page May 1, 2018 · 4 revisions

When using the IMAP device option to move processed messages to another mailbox, instead of deleting or leaving in the Inbox, you'll need to specify the name of the destination mailbox. Unfortunately, the naming scheme for IMAP mailboxes is server specific.

There are two primary traits of the naming scheme that vary between servers. First, some servers require all mailboxes to be relative to the INBOX. Others do not. Second, the delimiter used in the mailbox path is not fixed. Most servers use either "/" or ".".

So, for a top level mailbox called "Processed", the most probable names to put in the destination folder field are:

  • Processed
  • INBOX/Processed
  • INBOX.Processed

To provide some hints that might help determine the correct naming, if the plugin logging is set to "Detailed Debugging Messages" it will query the IMAP server for the list of names of the top-level mailboxes. The log will show something like this:

   Better Email Threaddebug        Indigo IMAP: Mailbox list:
   Better Email Threaddebug        Indigo IMAP:    Mailbox: (\Drafts \NoInferiors) "/" Drafts
   Better Email Threaddebug        Indigo IMAP:    Mailbox: (\HasNoChildren) "/" INBOX
   Better Email Threaddebug        Indigo IMAP:    Mailbox: (\NoInferiors) "/" OUTBOX
   Better Email Threaddebug        Indigo IMAP:    Mailbox: (\HasNoChildren) "/" Processed
   Better Email Threaddebug        Indigo IMAP:    Mailbox: (\Sent \NoInferiors) "/" Sent
   Better Email Threaddebug        Indigo IMAP:    Mailbox: (\Junk \NoInferiors) "/" Spam
   Better Email Threaddebug        Indigo IMAP:    Mailbox: (\Trash \HasNoChildren) "/" Trash

The "/" specifies that the delimiter between name parts is "/".

Clone this wiki locally