Here is a debdiff with the upstream patch to fix this. I made some quick tests and had no problems creating imap folders and subfolders with the new package. -- Can't make imap folder https://launchpad.net/bugs/57129