Curious problems with synchronization
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Dear all,
I have problems with synchronizing some external provider's IMAP server
with my both own IMAP servers. My own servers are run using Dovecot. One
is run on some webserver, one on my home server.
The only difference is the version number of "offlineimap" and the SuSE
distribution version (because I don't have a 64bit system at home). That
results from the different installation sources - while my home server
could install "offlineimap" using a smart/ RPM repository I took the
newest version for the webserver and installed it myself with the setup
script.
The last sync log of my home server:
________________________________________________________________________
OfflineIMAP 4.0.16
Copyright (C) 2002 - 2006 John Goerzen <jgoerzen@xxxxxxxxxxxx>
This software comes with ABSOLUTELY NO WARRANTY; see the file
COPYING for details. This is free software, and you are welcome
to distribute it under the conditions laid out in COPYING.
***** Processing account meszi1blu
Copying folder structure from IMAP to Maildir
Establishing connection to imap.1blu.de:143.
Aksed to translate INBOX
Aksed to translate Sent
Syncing INBOX: IMAP -> Maildir
Copy message 58220 IMAP[INBOX] -> Maildir[.], LocalStatus[.]
Copy message 58221 IMAP[INBOX] -> Maildir[.], LocalStatus[.]
Copy message 58222 IMAP[INBOX] -> Maildir[.], LocalStatus[.]
Copy message 58223 IMAP[INBOX] -> Maildir[.], LocalStatus[.]
Copy message 58224 IMAP[INBOX] -> Maildir[.], LocalStatus[.]
Copy message 58225 IMAP[INBOX] -> Maildir[.], LocalStatus[.]
Syncing Sent: IMAP -> Maildir
________________________________________________________________________
The last log of my webserver:
________________________________________________________________________
OfflineIMAP 5.99.7
Copyright (C) 2002 - 2008 John Goerzen <jgoerzen@xxxxxxxxxxxx>
This software comes with ABSOLUTELY NO WARRANTY; see the file
COPYING for details. This is free software, and you are welcome
to distribute it under the conditions laid out in COPYING.
***** Processing account meszi1blu
Copying folder structure from IMAP to Maildir
Establishing connection to imap.1blu.de:143.
Thread 'Account sync meszi1blu' terminated with exception:
Traceback (most recent call last):
File
"/usr/local/lib64/python2.4/site-packages/offlineimap/threadutil.py",
line 153, in run
Thread.run(self)
File "/usr/lib64/python2.4/threading.py", line 422, in run
self.__target(*self.__args, **self.__kwargs)
File
"/usr/local/lib64/python2.4/site-packages/offlineimap/accounts.py", line
114, in syncrunner
self.sync()
File
"/usr/local/lib64/python2.4/site-packages/offlineimap/accounts.py", line
148, in sync
remoterepos.syncfoldersto(localrepos, [statusrepos])
File
"/usr/local/lib64/python2.4/site-packages/offlineimap/repository/Base.py",
line 135, in syncfoldersto
srcfolders = src.getfolders()
File
"/usr/local/lib64/python2.4/site-packages/offlineimap/repository/IMAP.py",
line 190, in getfolders
imapobj = self.imapserver.acquireconnection()
File
"/usr/local/lib64/python2.4/site-packages/offlineimap/imapserver.py",
line 224, in acquireconnection
imapobj = UsefulIMAP4(self.hostname, self.port)
File "/usr/lib64/python2.4/imaplib.py", line 181, in __init__
self.welcome = self._get_response()
File "/usr/lib64/python2.4/imaplib.py", line 876, in _get_response
resp = self._get_line()
File "/usr/lib64/python2.4/imaplib.py", line 969, in _get_line
line = self.readline()
File "/usr/lib64/python2.4/imaplib.py", line 239, in readline
return self.file.readline()
File "/usr/lib64/python2.4/socket.py", line 340, in readline
data = self._sock.recv(self._rbufsize)
timeout: timed out
Last 1 debug messages logged for Account sync meszi1blu prior to exception:
maildir: MaildirRepository initialized, sep is '.'
________________________________________________________________________
Both use completely the same .offlineimaprc:
________________________________________________________________________
# .offlineimaprc of meszi
[general]
accounts = meszi1blu
maxsyncaccounts = 1
pythonfile = /etc/offlineimap/offlineimap_ext.py
ui = Noninteractive.Basic
socktimeout = 120
[Account meszi1blu]
localrepository = meszi1bluLocal
remoterepository = meszi1bluRemote
[Repository meszi1bluLocal]
type = Maildir
localfolders = ~/Maildir
nametrans = backwardsnametrans
[Repository meszi1bluRemote]
type = IMAP
remotehost = imap.1blu.de
remoteuser = MYUSERNAME
remotepass = MYPASSWORD
folderfilter = lambda foldername: foldername in ['INBOX', 'Inbox', 'Sent']
foldersort = myfoldercmp
nametrans = mynametrans
________________________________________________________________________
What can you suggest? If there is a suitable RPM package for OpenSuSE
10.1 64bit I'd maybe take that one for the webserver, too.
Ciao,
Daniel.
- Curious problems with synchronization,
Daniel Meszaros <=
|
|