[offlineimap] don't try to create a '/' IMAP folder (#255)

Nicolas Sebrecht notifications at github.com
Sat Oct 3 18:37:46 BST 2015


It's likely happening when the root of the maildir has new/tmp/cur.

```
OfflineIMAP 6.5.7
  Licensed under the GNU GPL v2 or any later version (with an OpenSSL exception)
Account sync hermes at whatever.org:
 *** Processing account hermes at whatever.org
 Establishing connection to imap.whatever.org:993
 Creating folder /[hermes at whatever.org-Remote]
 ERROR: Creating folder  on repository hermes at whatever.org-Remote
  Folder '/'[hermes at whatever.org-Remote] could not be created. Server responded: ('NO', ['unsupported folder name'])
 ERROR: Folder '/'[hermes at whatever.org-Remote] could not be created. Server responded: ('NO', ['unsupported folder name'])
 *** Finished account 'hermes at whatever.org' in 0:00
ERROR: Exceptions occurred during the run!
ERROR: Creating folder  on repository hermes at whatever.org-Remote
  Folder '/'[hermes at whatever.org-Remote] could not be created. Server responded: ('NO', ['unsupported folder name'])

Traceback:
  File "/usr/lib64/python2.7/site-packages/offlineimap/repository/Base.py", line 242, in sync_folder_structure
    src_repo.makefolder(dst_name_t)
  File "/usr/lib64/python2.7/site-packages/offlineimap/repository/IMAP.py", line 434, in makefolder
    OfflineImapError.ERROR.FOLDER)

ERROR: Folder '/'[hermes at whatever.org-Remote] could not be created. Server responded: ('NO', ['unsupported folder name'])

Traceback:
  File "/usr/lib64/python2.7/site-packages/offlineimap/accounts.py", line 263, in syncrunner
    self.__sync()
  File "/usr/lib64/python2.7/site-packages/offlineimap/accounts.py", line 329, in __sync
    remoterepos.sync_folder_structure(localrepos, statusrepos)
  File "/usr/lib64/python2.7/site-packages/offlineimap/repository/Base.py", line 242, in sync_folder_structure
    src_repo.makefolder(dst_name_t)
  File "/usr/lib64/python2.7/site-packages/offlineimap/repository/IMAP.py", line 434, in makefolder
    OfflineImapError.ERROR.FOLDER)
```

---
Reply to this email directly or view it on GitHub:
https://github.com/OfflineIMAP/offlineimap/issues/255
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20151003/26a3bb62/attachment-0002.html>


More information about the OfflineIMAP-project mailing list