Using OfflineIMAP with Exchange when folders have a foward slash in the name

Amul Shah amul at
Thu Dec 9 20:46:15 GMT 2010

Thanks for the asking me to use the debug mode.  When I
looked in the debug log for the missing folders (the ones that had "/"
in their names), they were no where to be found.  So I used telnet to
talk directly to the Exchange IMAP server and Exchange does not show the
folder when doing a directory listing.  I confirmed that my Thunderbird
client could not see the folders as well until I renamed the folder
(from Outlook) to remove the forward slash.

My initial description of the problem is poorly worded.  I should have
said offlineimap does not see the folders with forward slashes in the
name.  If offlineimap sees the folder, it downloads everything as
expected.  Now we know that offlineimap didn't see the folder because
the MS Exchange IMAP server did not show it.


On Mon, 29 Nov 2010 17:14 +0100, "Sebastian Spaeth" <Sebastian at> wrote:
> On Sun, 28 Nov 2010 22:35:52 -0500, "Amul Shah"
> <amul at> wrote:
> > I'm using offlineimap to archive several gigs of old email from an
> > Exchange server.  It has worked quite well, but I have run into one
> > snag.  If the folder on Exchange includes a forward slash, aka '/'
> > the normal path separator, then offlineimap chokes on downloading
> > the directory's contents.
> Is that even remotely allowed according to any spec? 8-)
> Maybe you can provide some logs (with -d imap, make sure you scrub
> passwords and usernames) to help debug this?
> Digging in the code would of course always be appreciated :).
> Sebastian
> _______________________________________________
> OfflineIMAP-project mailing list OfflineIMAP-
> project at
> OfflineIMAP homepage:

More information about the OfflineIMAP-project mailing list