Complete.Org: Mailing Lists: Archives: offlineimap: December 2007:
offlineimap and subdirectory with courier and exchange
Home

offlineimap and subdirectory with courier and exchange

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: offlineimap@xxxxxxxxxxxx
Subject: offlineimap and subdirectory with courier and exchange
From: "Jean-Yves Avenard" <jyavenard@xxxxxxxxx>
Date: Wed, 12 Dec 2007 19:14:00 +1100

Hi

I have successfully configured offlineimap to sync my two INBOX
folders on my local IMAP server (courier) and exchange.

Now I am trying to synchronise two folders but unfortunately I can not
get it to work...

I get  errors:

I have, I believe properly configured the two accounts, put the rule
to remove the INBOX. etc...
Butno matter what I've tried, either it doesn't sync at all and give
me no error ; or it errors out


[Repository Sent]
type = IMAP
remotehost = mail
remoteuser = xxx
ssl = yes
remoteport = 993
remotepass = xxx
maxconnections = 3
nametrans = lambda foldername: re.sub('^INBOX\.', '', foldername)
folderfilter = lambda foldername: foldername in ['test']
holdconnectionopen = yes

[Repository Mail2webSent]
type = IMAP
remotehost = exchange.mail2web.com
remoteuser = xxx
ssl = yes
remoteport = 993
remotepass = xxx
maxconnections = 3
folderfilter = lambda foldername: foldername in ['test']
holdconnectionopen = yes

Any help will be greatly appreciated

Thanks
Jean-Yves

it fails with the errors:
Thread 'Account sync hydrixsent' terminated with exception:
Traceback (most recent call last):
  File "/usr/local/lib/python2.4/site-packages/offlineimap/threadutil.py",
line 153, in run
    Thread.run(self)
  File "/usr/local/lib/python2.4/threading.py", line 422, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/local/lib/python2.4/site-packages/offlineimap/accounts.py",
line 118, in syncrunner
    self.sync()
  File "/usr/local/lib/python2.4/site-packages/offlineimap/accounts.py",
line 133, in sync
    remoterepos.syncfoldersto(localrepos)
  File "/usr/local/lib/python2.4/site-packages/offlineimap/repository/Base.py",
line 124, in syncfoldersto
    dest.makefolder(key)
  File "/usr/local/lib/python2.4/site-packages/offlineimap/repository/IMAP.py",
line 185, in makefolder
    raise RuntimeError, "Repository %s could not create folder %s: %s"
% (self.getname(), foldername, str(result))
RuntimeError: Repository HydrixSent could not create folder test:
('NO', ['Invalid mailbox name.'])


Last 50 debug messages logged for Account sync hydrixsent prior to exception:
imap: dequote() called with input: "INBOX.SpamEngine.spam_training"
imap: dequote() returning: INBOX.SpamEngine.spam_training
imap: imapsplit() called with input: (\HasNoChildren) "." "INBOX.Sent Items"
imap: imapsplit() returning: ['(\\HasNoChildren)', '"."', '"INBOX.Sent Items"']
imap: imapsplit() called with input: \HasNoChildren
imap: imapsplit() returning: ['\\HasNoChildren']
imap: dequote() called with input: "INBOX.Sent Items"
imap: dequote() returning: INBOX.Sent Items
imap: imapsplit() called with input: (\HasNoChildren) "." "INBOX.test"
imap: imapsplit() returning: ['(\\HasNoChildren)', '"."', '"INBOX.test"']
imap: imapsplit() called with input: \HasNoChildren
imap: imapsplit() returning: ['\\HasNoChildren']
imap: dequote() called with input: "INBOX.test"
imap: dequote() returning: INBOX.test
imap: imapsplit() called with input: (\HasNoChildren) "." "INBOX.Sent"
imap: imapsplit() returning: ['(\\HasNoChildren)', '"."', '"INBOX.Sent"']
imap: imapsplit() called with input: \HasNoChildren
imap: imapsplit() returning: ['\\HasNoChildren']
imap: dequote() called with input: "INBOX.Sent"
imap: dequote() returning: INBOX.Sent
imap: imapsplit() called with input: (\HasNoChildren) "." "INBOX.Drafts"
imap: imapsplit() returning: ['(\\HasNoChildren)', '"."', '"INBOX.Drafts"']
imap: imapsplit() called with input: \HasNoChildren
imap: imapsplit() returning: ['\\HasNoChildren']
imap: dequote() called with input: "INBOX.Drafts"
imap: dequote() returning: INBOX.Drafts
imap: imapsplit() called with input: (\HasNoChildren) "." "INBOX.Trash"
imap: imapsplit() returning: ['(\\HasNoChildren)', '"."', '"INBOX.Trash"']
imap: imapsplit() called with input: \HasNoChildren
imap: imapsplit() returning: ['\\HasNoChildren']
imap: dequote() called with input: "INBOX.Trash"
imap: dequote() returning: INBOX.Trash
imap: imapsplit() called with input: (\Marked \HasChildren) "." "INBOX"
imap: imapsplit() returning: ['(\\Marked \\HasChildren)', '"."', '"INBOX"']
imap: imapsplit() called with input: \Marked \HasChildren
imap: imapsplit() returning: ['\\Marked', '\\HasChildren']
imap: dequote() called with input: "INBOX"
imap: dequote() returning: INBOX
imap: imapsplit() called with input: (\Noselect \HasChildren) "."
"shared.notices"
imap: imapsplit() returning: ['(\\Noselect \\HasChildren)', '"."',
'"shared.notices"']
imap: imapsplit() called with input: \Noselect \HasChildren
imap: imapsplit() returning: ['\\Noselect', '\\HasChildren']
imap: imapsplit() called with input: (\Noselect \HasChildren) "." "shared"
imap: imapsplit() returning: ['(\\Noselect \\HasChildren)', '"."', '"shared"']
imap: imapsplit() called with input: \Noselect \HasChildren
imap: imapsplit() returning: ['\\Noselect', '\\HasChildren']
imap: imapsplit() called with input: (\Noselect \HasChildren) "."
"INBOX.SpamEngine"
imap: imapsplit() returning: ['(\\Noselect \\HasChildren)', '"."',
'"INBOX.SpamEngine"']
imap: imapsplit() called with input: \Noselect \HasChildren
imap: imapsplit() returning: ['\\Noselect', '\\HasChildren']



[Prev in Thread] Current Thread [Next in Thread]
  • offlineimap and subdirectory with courier and exchange, Jean-Yves Avenard <=