IMAP <-> IMAP issues..
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Here's the scenario so you know what's going on:
I'm migrating from M$ Exchange to Courier-imap on a Debian 3.0r1
stable/unstable hybrid box. I will be having my users connect to their
IMAP mailboxes through Mozilla Thunderbird or a webmail client (such as
Squirrelmail).
Offlineimap is the only program I've found so far that will reliably
read the IMAP folders from my Exchange 5.5 server. It seems to read
them and download them quite quickly and effectively to a local Maildir
folder. However, the Maildir folder that Offlineimap creates does not
have the '.' in front of the folder name for Courier-imap to recognize
it as a folder for it to subscribe to. Nor does Offlineimap subscribe
to the folder.
In the interest of trying to get this to work, I tried setting up
IMAP<->IMAP instead. However it does not seem to function as expected.
I've checked the perms on my Maildir folder, it *was* set to 700, so as
a test, I set it to 777, I still received the same error message.
Help!
Here is the error message I receive:
-----
Thread 'Account sync Test' terminated with exception:
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/offlineimap/threadutil.py",
line 153, in run
Thread.run(self)
File "/usr/lib/python2.3/threading.py", line 422, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/lib/python2.3/site-packages/offlineimap/accounts.py", line
113, in syncrunner
self.sync()
File "/usr/lib/python2.3/site-packages/offlineimap/accounts.py", line
133, in sync
remoterepos.syncfoldersto(localrepos)
File
"/usr/lib/python2.3/site-packages/offlineimap/repository/Base.py", line
124, in syncfoldersto
dest.makefolder(key)
File
"/usr/lib/python2.3/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 Local could not create folder Contacts: ('NO',
['Invalid mailbox name'])
Last 50 debug messages logged for Account sync Test prior to exception:
imap: dequote() called with input: Sent
imap: Attempting plain authentication
imap: imapsplit() called with input: (\Noselect) "." ""
imap: imapsplit() returning: ['(\\Noselect)', '"."', '""']
imap: dequote() called with input: "."
imap: dequote() returning: .
imap: dequote() called with input: ""
imap: dequote() returning:
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: dequote() called with input: INBOX.Sent Items
imap: imapsplit() called with input: (\HasNoChildren) "." "INBOX.Mailing
List"
imap: imapsplit() returning: ['(\\HasNoChildren)', '"."',
'"INBOX.Mailing List"']
imap: imapsplit() called with input: \HasNoChildren
imap: imapsplit() returning: ['\\HasNoChildren']
imap: dequote() called with input: "INBOX.Mailing List"
imap: dequote() returning: INBOX.Mailing List
imap: dequote() called with input: INBOX.Mailing List
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: dequote() called with input: INBOX.Drafts
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: dequote() called with input: INBOX.Sent
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: dequote() called with input: 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: dequote() called with input: INBOX
-----
My configuration file:
-----
[general]
accounts = Test
[Account Test]
localrepository = Local
remoterepository = Remote
[Repository Local]
type = IMAP
remotehost = 10.0.0.182
remoteuser = chrisw
nametrans = lambda foldername: re.sub('^INBOX\.', '', foldername)
#type = Maildir
#localfolders = ~/Test/
#reference = .
[Repository Remote]
type = IMAP
maxconnections = 1
remotehost = 10.0.0.11
remoteuser = chrisw
-----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- IMAP <-> IMAP issues..,
Christopher Wagner <=
|
|