Folder could not be created

W. Trevor King wking at drexel.edu
Tue Dec 13 17:04:19 GMT 2011


On Tue, Dec 13, 2011 at 12:00:57PM -0500, W. Trevor King wrote:
> I've attached a patch that does fix the problem…

Oops, *now* I've attached the patch and logs ;).

-- 
This email may be signed or encrypted with GnuPG (http://www.gnupg.org).
For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy
-------------- next part --------------
>From 3067b1b4dfb00d165bd9480ea49f446adb12991d Mon Sep 17 00:00:00 2001
From: W. Trevor King <wking at drexel.edu>
Date: Tue, 13 Dec 2011 11:26:00 -0500
Subject: [PATCH] Only scan children in _getfolders_scandir if extension is set.

When sep is '/', MaildirRepository._getfolders_scandir recursively
checks sub-directories for additional maildirs.  The old loop logic
always checked the top directory and its children.  This lead to
children being found twice, once from their parent, with dirname
matching their directory name, and once from themselves, with a
dirname of ''.

This patch fixes the problem by only checking the top directory when
extension is not set (i.e. for the root directory).
---
 offlineimap/repository/Maildir.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/offlineimap/repository/Maildir.py b/offlineimap/repository/Maildir.py
index 0dd79a2..1eefb95 100644
--- a/offlineimap/repository/Maildir.py
+++ b/offlineimap/repository/Maildir.py
@@ -151,6 +151,9 @@ class MaildirRepository(BaseRepository):
         for dirname in os.listdir(toppath) + ['']:
             self.debug("  *** top of loop")
             self.debug("  dirname = %s" % dirname)
+            if dirname == '' and extension is not None:
+                self.debug('  skip this entry (extension set)')
+                continue
             if dirname in ['cur', 'new', 'tmp']:
                 self.debug("  skipping this dir (Maildir special)")
                 # Bypass special files.
-- 
1.7.3.4

-------------- next part --------------
This is OfflineIMAP 6.4.2
Python: 2.7.2 (default, Nov  7 2011, 15:43:51) 
[GCC 4.4.5]
Platform: linux2
Args: ['/usr/bin/offlineimap', '-1d', 'maildir', '-l', '/tmp/offlineimap-error.log', '-a', 'PHYS160']
MainThread: OfflineIMAP 6.4.2
Copyright 2002-2011 John Goerzen & contributors.
Licensed under the GNU GPL v2+ (v2 or any later version).

MainThread: Debug mode: Forcing to singlethreaded.
MainThread: Now debugging for maildir: Maildir repository debugging
MainThread: Now debugging for : Other offlineimap related sync messages
Account sync PHYS160: DEBUG[maildir]: MaildirRepository initialized, sep is '/'
Account sync PHYS160: *** Processing account PHYS160
Account sync PHYS160: Establishing connection to einstein.physics.drexel.edu:993
Account sync PHYS160: DEBUG[maildir]: _GETFOLDERS_SCANDIR STARTING. root = /home/wking/mail/phys160, extension = None
Account sync PHYS160: DEBUG[maildir]:   toppath = /home/wking/mail/phys160
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = 2011-fall
Account sync PHYS160: DEBUG[maildir]:   fullname = /home/wking/mail/phys160/2011-fall
Account sync PHYS160: DEBUG[maildir]:   This is maildir folder '2011-fall'.
Account sync PHYS160: DEBUG[maildir]: _GETFOLDERS_SCANDIR STARTING. root = /home/wking/mail/phys160, extension = 2011-fall
Account sync PHYS160: DEBUG[maildir]:   toppath = /home/wking/mail/phys160/2011-fall
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = cur
Account sync PHYS160: DEBUG[maildir]:   skipping this dir (Maildir special)
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = new
Account sync PHYS160: DEBUG[maildir]:   skipping this dir (Maildir special)
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = tmp
Account sync PHYS160: DEBUG[maildir]:   skipping this dir (Maildir special)
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = 
Account sync PHYS160: DEBUG[maildir]:   fullname = /home/wking/mail/phys160/2011-fall/
Account sync PHYS160: DEBUG[maildir]:   This is maildir folder ''.
Account sync PHYS160: DEBUG[maildir]: _GETFOLDERS_SCANDIR RETURNING ['']
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = Drafts
Account sync PHYS160: DEBUG[maildir]:   fullname = /home/wking/mail/phys160/Drafts
Account sync PHYS160: DEBUG[maildir]:   This is maildir folder 'Drafts'.
Account sync PHYS160: DEBUG[maildir]: _GETFOLDERS_SCANDIR STARTING. root = /home/wking/mail/phys160, extension = Drafts
Account sync PHYS160: DEBUG[maildir]:   toppath = /home/wking/mail/phys160/Drafts
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = cur
Account sync PHYS160: DEBUG[maildir]:   skipping this dir (Maildir special)
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = new
Account sync PHYS160: DEBUG[maildir]:   skipping this dir (Maildir special)
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = tmp
Account sync PHYS160: DEBUG[maildir]:   skipping this dir (Maildir special)
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = 
Account sync PHYS160: DEBUG[maildir]:   fullname = /home/wking/mail/phys160/Drafts/
Account sync PHYS160: DEBUG[maildir]:   This is maildir folder ''.
Account sync PHYS160: DEBUG[maildir]: _GETFOLDERS_SCANDIR RETURNING ['']
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = 2011-spring
Account sync PHYS160: DEBUG[maildir]:   fullname = /home/wking/mail/phys160/2011-spring
Account sync PHYS160: DEBUG[maildir]:   This is maildir folder '2011-spring'.
Account sync PHYS160: DEBUG[maildir]: _GETFOLDERS_SCANDIR STARTING. root = /home/wking/mail/phys160, extension = 2011-spring
Account sync PHYS160: DEBUG[maildir]:   toppath = /home/wking/mail/phys160/2011-spring
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = cur
Account sync PHYS160: DEBUG[maildir]:   skipping this dir (Maildir special)
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = new
Account sync PHYS160: DEBUG[maildir]:   skipping this dir (Maildir special)
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = tmp
Account sync PHYS160: DEBUG[maildir]:   skipping this dir (Maildir special)
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = 
Account sync PHYS160: DEBUG[maildir]:   fullname = /home/wking/mail/phys160/2011-spring/
Account sync PHYS160: DEBUG[maildir]:   This is maildir folder ''.
Account sync PHYS160: DEBUG[maildir]: _GETFOLDERS_SCANDIR RETURNING ['']
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = INBOX
Account sync PHYS160: DEBUG[maildir]:   fullname = /home/wking/mail/phys160/INBOX
Account sync PHYS160: DEBUG[maildir]:   This is maildir folder 'INBOX'.
Account sync PHYS160: DEBUG[maildir]: _GETFOLDERS_SCANDIR STARTING. root = /home/wking/mail/phys160, extension = INBOX
Account sync PHYS160: DEBUG[maildir]:   toppath = /home/wking/mail/phys160/INBOX
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = cur
Account sync PHYS160: DEBUG[maildir]:   skipping this dir (Maildir special)
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = new
Account sync PHYS160: DEBUG[maildir]:   skipping this dir (Maildir special)
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = tmp
Account sync PHYS160: DEBUG[maildir]:   skipping this dir (Maildir special)
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = 
Account sync PHYS160: DEBUG[maildir]:   fullname = /home/wking/mail/phys160/INBOX/
Account sync PHYS160: DEBUG[maildir]:   This is maildir folder ''.
Account sync PHYS160: DEBUG[maildir]: _GETFOLDERS_SCANDIR RETURNING ['']
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = Trash
Account sync PHYS160: DEBUG[maildir]:   fullname = /home/wking/mail/phys160/Trash
Account sync PHYS160: DEBUG[maildir]:   This is maildir folder 'Trash'.
Account sync PHYS160: DEBUG[maildir]: _GETFOLDERS_SCANDIR STARTING. root = /home/wking/mail/phys160, extension = Trash
Account sync PHYS160: DEBUG[maildir]:   toppath = /home/wking/mail/phys160/Trash
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = cur
Account sync PHYS160: DEBUG[maildir]:   skipping this dir (Maildir special)
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = new
Account sync PHYS160: DEBUG[maildir]:   skipping this dir (Maildir special)
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = tmp
Account sync PHYS160: DEBUG[maildir]:   skipping this dir (Maildir special)
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = 
Account sync PHYS160: DEBUG[maildir]:   fullname = /home/wking/mail/phys160/Trash/
Account sync PHYS160: DEBUG[maildir]:   This is maildir folder ''.
Account sync PHYS160: DEBUG[maildir]: _GETFOLDERS_SCANDIR RETURNING ['']
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = Sent
Account sync PHYS160: DEBUG[maildir]:   fullname = /home/wking/mail/phys160/Sent
Account sync PHYS160: DEBUG[maildir]:   This is maildir folder 'Sent'.
Account sync PHYS160: DEBUG[maildir]: _GETFOLDERS_SCANDIR STARTING. root = /home/wking/mail/phys160, extension = Sent
Account sync PHYS160: DEBUG[maildir]:   toppath = /home/wking/mail/phys160/Sent
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = cur
Account sync PHYS160: DEBUG[maildir]:   skipping this dir (Maildir special)
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = new
Account sync PHYS160: DEBUG[maildir]:   skipping this dir (Maildir special)
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = tmp
Account sync PHYS160: DEBUG[maildir]:   skipping this dir (Maildir special)
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = 
Account sync PHYS160: DEBUG[maildir]:   fullname = /home/wking/mail/phys160/Sent/
Account sync PHYS160: DEBUG[maildir]:   This is maildir folder ''.
Account sync PHYS160: DEBUG[maildir]: _GETFOLDERS_SCANDIR RETURNING ['']
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = 
Account sync PHYS160: DEBUG[maildir]:   fullname = /home/wking/mail/phys160/
Account sync PHYS160: DEBUG[maildir]: _GETFOLDERS_SCANDIR RETURNING ['2011-fall', '', 'Drafts', '', '2011-spring', '', 'INBOX', '', 'Trash', '', 'Sent', '']
Account sync PHYS160: DEBUG[]: Copying folder structure from PHYS160Remote to PHYS160Local
Account sync PHYS160: Creating new IMAP folder '' on server PHYS160Remote
Account sync PHYS160: ERROR: Creating folder Sent on repository PHYS160Local
  Folder ''[PHYS160Remote] could not be created. Server responded: ('NO', ['Empty mailbox name.'])
Account sync PHYS160: ['  File "/usr/lib/python2.7/site-packages/offlineimap/repository/Base.py", line 207, in syncfoldersto\n    src_repo.makefolder(newsrc_name)\n', '  File "/usr/lib/python2.7/site-packages/offlineimap/repository/IMAP.py", line 336, in makefolder\n    OfflineImapError.ERROR.FOLDER)\n']
Account sync PHYS160: ERROR: Folder ''[PHYS160Remote] could not be created. Server responded: ('NO', ['Empty mailbox name.'])
Account sync PHYS160: ['  File "/usr/lib/python2.7/site-packages/offlineimap/accounts.py", line 212, in syncrunner\n    self.sync()\n', '  File "/usr/lib/python2.7/site-packages/offlineimap/accounts.py", line 278, in sync\n    remoterepos.syncfoldersto(localrepos, statusrepos)\n', '  File "/usr/lib/python2.7/site-packages/offlineimap/repository/Base.py", line 207, in syncfoldersto\n    src_repo.makefolder(newsrc_name)\n', '  File "/usr/lib/python2.7/site-packages/offlineimap/repository/IMAP.py", line 336, in makefolder\n    OfflineImapError.ERROR.FOLDER)\n']
Account sync PHYS160: *** Finished account 'PHYS160' in 0:00
Account sync PHYS160: 
ERROR: Exceptions occurred during the run!
Account sync PHYS160: ERROR: Creating folder Sent on repository PHYS160Local
  Folder ''[PHYS160Remote] could not be created. Server responded: ('NO', ['Empty mailbox name.'])
Account sync PHYS160: 
Traceback:
  File "/usr/lib/python2.7/site-packages/offlineimap/repository/Base.py", line 207, in syncfoldersto
    src_repo.makefolder(newsrc_name)
  File "/usr/lib/python2.7/site-packages/offlineimap/repository/IMAP.py", line 336, in makefolder
    OfflineImapError.ERROR.FOLDER)

Account sync PHYS160: ERROR: Folder ''[PHYS160Remote] could not be created. Server responded: ('NO', ['Empty mailbox name.'])
Account sync PHYS160: 
Traceback:
  File "/usr/lib/python2.7/site-packages/offlineimap/accounts.py", line 212, in syncrunner
    self.sync()
  File "/usr/lib/python2.7/site-packages/offlineimap/accounts.py", line 278, in sync
    remoterepos.syncfoldersto(localrepos, statusrepos)
  File "/usr/lib/python2.7/site-packages/offlineimap/repository/Base.py", line 207, in syncfoldersto
    src_repo.makefolder(newsrc_name)
  File "/usr/lib/python2.7/site-packages/offlineimap/repository/IMAP.py", line 336, in makefolder
    OfflineImapError.ERROR.FOLDER)

-------------- next part --------------
This is OfflineIMAP 6.4.2
Python: 2.7.2 (default, Nov  7 2011, 15:43:51) 
[GCC 4.4.5]
Platform: linux2
Args: ['offlineimap.py', '-1d', 'maildir', '-l', '/tmp/offlineimap-working.log', '-a', 'PHYS160']
MainThread: OfflineIMAP 6.4.2
Copyright 2002-2011 John Goerzen & contributors.
Licensed under the GNU GPL v2+ (v2 or any later version).

MainThread: Debug mode: Forcing to singlethreaded.
MainThread: Now debugging for maildir: Maildir repository debugging
MainThread: Now debugging for : Other offlineimap related sync messages
Account sync PHYS160: DEBUG[maildir]: MaildirRepository initialized, sep is '/'
Account sync PHYS160: *** Processing account PHYS160
Account sync PHYS160: Establishing connection to einstein.physics.drexel.edu:993
Account sync PHYS160: DEBUG[maildir]: _GETFOLDERS_SCANDIR STARTING. root = /home/wking/mail/phys160, extension = None
Account sync PHYS160: DEBUG[maildir]:   toppath = /home/wking/mail/phys160
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = 2011-fall
Account sync PHYS160: DEBUG[maildir]:   fullname = /home/wking/mail/phys160/2011-fall
Account sync PHYS160: DEBUG[maildir]:   This is maildir folder '2011-fall'.
Account sync PHYS160: DEBUG[maildir]: _GETFOLDERS_SCANDIR STARTING. root = /home/wking/mail/phys160, extension = 2011-fall
Account sync PHYS160: DEBUG[maildir]:   toppath = /home/wking/mail/phys160/2011-fall
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = cur
Account sync PHYS160: DEBUG[maildir]:   skipping this dir (Maildir special)
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = new
Account sync PHYS160: DEBUG[maildir]:   skipping this dir (Maildir special)
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = tmp
Account sync PHYS160: DEBUG[maildir]:   skipping this dir (Maildir special)
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = 
Account sync PHYS160: DEBUG[maildir]:   skip this entry (extension set)
Account sync PHYS160: DEBUG[maildir]: _GETFOLDERS_SCANDIR RETURNING []
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = Drafts
Account sync PHYS160: DEBUG[maildir]:   fullname = /home/wking/mail/phys160/Drafts
Account sync PHYS160: DEBUG[maildir]:   This is maildir folder 'Drafts'.
Account sync PHYS160: DEBUG[maildir]: _GETFOLDERS_SCANDIR STARTING. root = /home/wking/mail/phys160, extension = Drafts
Account sync PHYS160: DEBUG[maildir]:   toppath = /home/wking/mail/phys160/Drafts
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = cur
Account sync PHYS160: DEBUG[maildir]:   skipping this dir (Maildir special)
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = new
Account sync PHYS160: DEBUG[maildir]:   skipping this dir (Maildir special)
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = tmp
Account sync PHYS160: DEBUG[maildir]:   skipping this dir (Maildir special)
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = 
Account sync PHYS160: DEBUG[maildir]:   skip this entry (extension set)
Account sync PHYS160: DEBUG[maildir]: _GETFOLDERS_SCANDIR RETURNING []
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = 2011-spring
Account sync PHYS160: DEBUG[maildir]:   fullname = /home/wking/mail/phys160/2011-spring
Account sync PHYS160: DEBUG[maildir]:   This is maildir folder '2011-spring'.
Account sync PHYS160: DEBUG[maildir]: _GETFOLDERS_SCANDIR STARTING. root = /home/wking/mail/phys160, extension = 2011-spring
Account sync PHYS160: DEBUG[maildir]:   toppath = /home/wking/mail/phys160/2011-spring
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = cur
Account sync PHYS160: DEBUG[maildir]:   skipping this dir (Maildir special)
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = new
Account sync PHYS160: DEBUG[maildir]:   skipping this dir (Maildir special)
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = tmp
Account sync PHYS160: DEBUG[maildir]:   skipping this dir (Maildir special)
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = 
Account sync PHYS160: DEBUG[maildir]:   skip this entry (extension set)
Account sync PHYS160: DEBUG[maildir]: _GETFOLDERS_SCANDIR RETURNING []
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = INBOX
Account sync PHYS160: DEBUG[maildir]:   fullname = /home/wking/mail/phys160/INBOX
Account sync PHYS160: DEBUG[maildir]:   This is maildir folder 'INBOX'.
Account sync PHYS160: DEBUG[maildir]: _GETFOLDERS_SCANDIR STARTING. root = /home/wking/mail/phys160, extension = INBOX
Account sync PHYS160: DEBUG[maildir]:   toppath = /home/wking/mail/phys160/INBOX
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = cur
Account sync PHYS160: DEBUG[maildir]:   skipping this dir (Maildir special)
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = new
Account sync PHYS160: DEBUG[maildir]:   skipping this dir (Maildir special)
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = tmp
Account sync PHYS160: DEBUG[maildir]:   skipping this dir (Maildir special)
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = 
Account sync PHYS160: DEBUG[maildir]:   skip this entry (extension set)
Account sync PHYS160: DEBUG[maildir]: _GETFOLDERS_SCANDIR RETURNING []
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = Trash
Account sync PHYS160: DEBUG[maildir]:   fullname = /home/wking/mail/phys160/Trash
Account sync PHYS160: DEBUG[maildir]:   This is maildir folder 'Trash'.
Account sync PHYS160: DEBUG[maildir]: _GETFOLDERS_SCANDIR STARTING. root = /home/wking/mail/phys160, extension = Trash
Account sync PHYS160: DEBUG[maildir]:   toppath = /home/wking/mail/phys160/Trash
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = cur
Account sync PHYS160: DEBUG[maildir]:   skipping this dir (Maildir special)
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = new
Account sync PHYS160: DEBUG[maildir]:   skipping this dir (Maildir special)
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = tmp
Account sync PHYS160: DEBUG[maildir]:   skipping this dir (Maildir special)
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = 
Account sync PHYS160: DEBUG[maildir]:   skip this entry (extension set)
Account sync PHYS160: DEBUG[maildir]: _GETFOLDERS_SCANDIR RETURNING []
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = Sent
Account sync PHYS160: DEBUG[maildir]:   fullname = /home/wking/mail/phys160/Sent
Account sync PHYS160: DEBUG[maildir]:   This is maildir folder 'Sent'.
Account sync PHYS160: DEBUG[maildir]: _GETFOLDERS_SCANDIR STARTING. root = /home/wking/mail/phys160, extension = Sent
Account sync PHYS160: DEBUG[maildir]:   toppath = /home/wking/mail/phys160/Sent
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = cur
Account sync PHYS160: DEBUG[maildir]:   skipping this dir (Maildir special)
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = new
Account sync PHYS160: DEBUG[maildir]:   skipping this dir (Maildir special)
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = tmp
Account sync PHYS160: DEBUG[maildir]:   skipping this dir (Maildir special)
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = 
Account sync PHYS160: DEBUG[maildir]:   skip this entry (extension set)
Account sync PHYS160: DEBUG[maildir]: _GETFOLDERS_SCANDIR RETURNING []
Account sync PHYS160: DEBUG[maildir]:   *** top of loop
Account sync PHYS160: DEBUG[maildir]:   dirname = 
Account sync PHYS160: DEBUG[maildir]:   fullname = /home/wking/mail/phys160/
Account sync PHYS160: DEBUG[maildir]: _GETFOLDERS_SCANDIR RETURNING ['2011-fall', 'Drafts', '2011-spring', 'INBOX', 'Trash', 'Sent']
Account sync PHYS160: DEBUG[]: Copying folder structure from PHYS160Remote to PHYS160Local
Folder 2011-fall [acc: PHYS160]: Syncing 2011-fall: IMAP -> Maildir
Folder 2011-spring [acc: PHYS160]: Syncing 2011-spring: IMAP -> Maildir
Folder Drafts [acc: PHYS160]: Syncing Drafts: IMAP -> Maildir
Folder INBOX [acc: PHYS160]: Syncing INBOX: IMAP -> Maildir
Folder Sent [acc: PHYS160]: Syncing Sent: IMAP -> Maildir
Folder Trash [acc: PHYS160]: Syncing Trash: IMAP -> Maildir
Account sync PHYS160: *** Finished account 'PHYS160' in 0:00


More information about the OfflineIMAP-project mailing list