can't create parent folder, child already created

Marco Baiguera ing.baiguera at gmail.com
Wed Apr 16 20:23:29 BST 2014


Hello everyone,
i recently started to learn offlineimap, my goal is to keep my email
account (hosted on my isp) in sync with a local linux server, imap to imap
synchronization.

offlineimap is working but it complain and stops with:
ERROR: Creating folder INBOX/INBOX/prova on repository Local
  Folder 'INBOX/INBOX/prova'[Local] could not be created. Server responded:
('NO', ['[ALREADYEXISTS] Mailbox already exists'])
 ERROR: Folder 'INBOX/INBOX/prova'[Local] could not be created. Server
responded: ('NO', ['[ALREADYEXISTS] Mailbox already exists'])

on the local server the folder
 INBOX/INBOX/prova/prova2
was created by offlineimap, so i suppose it should manage the parent folder
INBOX/INBOX/prova

what am i doing wrong ?

this is offlineimap --info:

Remote repository 'Remote': type 'IMAP'
Host: xxxx Port: None SSL: 0
Establishing connection to xxxx:143
Server supports ID extension.
Server welcome string: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR
LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN] Dovecot ready.
Server capabilities: ('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', 'SPECIAL-USE',
'BINARY', 'MOVE')

Folderlist:
 INBOX
 INBOX.Bozze
 INBOX.Drafts
 INBOX.INBOX.ok
 INBOX.INBOX.prova
 INBOX.INBOX.prova.prova2
...

Local repository 'Local': type 'MappedIMAP'
Host: localhost Port: None SSL: 0
Establishing connection to localhost:143
Server supports ID extension.
Server welcome string: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR
LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN] Dovecot ready.
Server capabilities: ('IMAP4REV1', 'LITERAL+', 'SASL-IR',
'LOGIN-REFERRALS', 'ID', 'ENABLE', 'IDLE', 'SORT', 'SORT=DISPLAY',
'THREAD=REFERENCES', 'THREAD=REFS', 'MULTIAPPEND', 'UNSELECT', 'CHILDREN',
'NAMESPACE', 'UIDPLUS', 'LIST-EXTENDED', 'I18NLEVEL=1', 'CONDSTORE',
'QRESYNC', 'ESEARCH', 'ESORT', 'SEARCHRES', 'WITHIN', 'CONTEXT=SEARCH',
'LIST-STATUS')

folderfilter= lambda foldername: foldername not in ['Posta
eliminata','Posta inviata','Posta indesiderata','Bozze']

Folderlist:
 Bozze (disabled)
 INBOX
 INBOX/Bozze
 INBOX/Drafts
 INBOX/INBOX/ok
 INBOX/INBOX/prova ofli
 INBOX/INBOX/prova/prova2
...

thank you !
Marco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/offlineimap-project/attachments/20140416/40e41c76/attachment.html>


More information about the OfflineIMAP-project mailing list