Complete.Org: Mailing Lists: Archives: offlineimap: May 2008:
Re: backup and synchronize to fastmail
Home

Re: backup and synchronize to fastmail

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: John Goerzen <jgoerzen@xxxxxxxxxxxx>
Cc: offlineimap@xxxxxxxxxxxx
Subject: Re: backup and synchronize to fastmail
From: Alejandro Jakubi <jakubi@xxxxxxxxx>
Date: Sun, 18 May 2008 20:55:21 -0300

I have decided to run offlineimap on the foreground for a while (as the issue
with screen might take long), and the results were a failure.

The .offlineimaprc had this form (following previous advice):

===
[general]
accounts = Test

[Account Test]
localrepository = Local
remoterepository = Remote

[Repository Local]
type = IMAP
remotehost = <dept-imap-server>
remoteuser = <dept-username>

[Repository Remote]
type = IMAP
remotehost = mail.messagingengine.com
remoteuser = <fm-username>

sep = /
nametrans = lambda foldername: rs.sub('^INBOX\.', 'mail/', foldername)

ui = TTY.TTYUI

====

I have run both offlineimap 4.0.16 and 5.99.15. Both with option '-l' to
produce a logfile.

I had expected that the passwords would be requested, after this section of
offlineimap.conf:

# There are five ways to give the password for the remote IMAP
# server:
#
# 1. No password at all specified in the config file. If a matching
#    entry is found in ~/.netrc (see netrc (5) for information) the
#    password from the matching entry will be used. Otherwise you
#    will be prompted for the password when OfflineIMAP starts.

but I have got no prompt for them.

So, offlineimap "worked" for a while and then produced an error: (110,
'Connection timed out').

Find below the logfiles.

Why is offlineimap not requesting the paswords?


Regards, Alejandro Jakubi

====

This is OfflineIMAP 4.0.16
Python: 2.4.4 (#1, Oct 23 2006, 13:58:00)
[GCC 4.1.1 20061011 (Red Hat 4.1.1-30)]
Platform: linux2
Args: ['/usr/bin/offlineimap', '-l', 'offlineimap-log']
MainThread: 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.
MainThread: OfflineIMAP 4.0.16
MainThread: Copyright (C) 2002 - 2006 John Goerzen <jgoerzen@xxxxxxxxxxxx>
MainThread: This software comes with ABSOLUTELY NO WARRANTY; see the file
MainThread: COPYING for details.  This is free software, and you are welcome
MainThread: to distribute it under the conditions laid out in COPYING.
Account sync Test: ***** Processing account Test
Account sync Test: Copying folder structure from IMAP to MappedIMAP
Account sync Test: Establishing connection to mail.messagingengine.com:143.
MainThread: Thread 'Account sync Test' terminated with exception:
Traceback (most recent call last):
   File "/usr/lib/python2.4/site-packages/offlineimap/threadutil.py", line 153, 
in run
     Thread.run(self)
   File "/usr/lib/python2.4/threading.py", line 422, in run
     self.__target(*self.__args, **self.__kwargs)
   File "/usr/lib/python2.4/site-packages/offlineimap/accounts.py", line 113, 
in syncrunner
     self.sync()
   File "/usr/lib/python2.4/site-packages/offlineimap/accounts.py", line 133, 
in sync
     remoterepos.syncfoldersto(localrepos)
   File "/usr/lib/python2.4/site-packages/offlineimap/repository/Base.py", line 
116, in syncfoldersto
     srcfolders = src.getfolders()
   File "/usr/lib/python2.4/site-packages/offlineimap/repository/IMAP.py", line 
163, in getfolders
     imapobj = self.imapserver.acquireconnection()
   File "/usr/lib/python2.4/site-packages/offlineimap/imapserver.py", line 168, 
in acquireconnection
     imapobj = UsefulIMAP4(self.hostname, self.port)
   File "/usr/lib/python2.4/site-packages/offlineimap/imaplib.py", line 154, in 
_JG_
     self.open(host, port)
   File "/usr/lib/python2.4/site-packages/offlineimap/imaplib.py", line 229, in 
open
     self.sock.connect(sa)
   File "<string>", line 1, in connect
error: (110, 'Connection timed out')


No debug messages were logged for Account sync Test.
MainThread: Thread 'Account sync Test' terminated with exception:
MainThread: Traceback (most recent call last):
MainThread:   File 
"/usr/lib/python2.4/site-packages/offlineimap/threadutil.py", line 153, in run
MainThread:     Thread.run(self)
MainThread:   File "/usr/lib/python2.4/threading.py", line 422, in run
MainThread:     self.__target(*self.__args, **self.__kwargs)
MainThread:   File "/usr/lib/python2.4/site-packages/offlineimap/accounts.py", 
line 113, in syncrunner
MainThread:     self.sync()
MainThread:   File "/usr/lib/python2.4/site-packages/offlineimap/accounts.py", 
line 133, in sync
MainThread:     remoterepos.syncfoldersto(localrepos)
MainThread:   File 
"/usr/lib/python2.4/site-packages/offlineimap/repository/Base.py", line 116, in 
syncfoldersto
MainThread:     srcfolders = src.getfolders()
MainThread:   File 
"/usr/lib/python2.4/site-packages/offlineimap/repository/IMAP.py", line 163, in 
getfolders
MainThread:     imapobj = self.imapserver.acquireconnection()
MainThread:   File 
"/usr/lib/python2.4/site-packages/offlineimap/imapserver.py", line 168, in 
acquireconnection
MainThread:     imapobj = UsefulIMAP4(self.hostname, self.port)
MainThread:   File "/usr/lib/python2.4/site-packages/offlineimap/imaplib.py", 
line 154, in _JG_
MainThread:     self.open(host, port)
MainThread:   File "/usr/lib/python2.4/site-packages/offlineimap/imaplib.py", 
line 229, in open
MainThread:     self.sock.connect(sa)
MainThread:   File "<string>", line 1, in connect
MainThread: error: (110, 'Connection timed out')
MainThread:
MainThread:
MainThread: No debug messages were logged for Account sync Test.

====

This is OfflineIMAP 5.99.15
Python: 2.4.4 (#1, Oct 23 2006, 13:58:00)
[GCC 4.1.1 20061011 (Red Hat 4.1.1-30)]
Platform: linux2
Args: ['offlineimap.py', '-l', '/home/jakubi/offlineimap-log']
MainThread: OfflineIMAP 5.99.15
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.
MainThread: OfflineIMAP 5.99.15
MainThread: Copyright (C) 2002 - 2008 John Goerzen <jgoerzen@xxxxxxxxxxxx>
MainThread: This software comes with ABSOLUTELY NO WARRANTY; see the file
MainThread: COPYING for details.  This is free software, and you are welcome
MainThread: to distribute it under the conditions laid out in COPYING.
Account sync Test: ***** Processing account Test
Account sync Test: Copying folder structure from IMAP to MappedIMAP
Account sync Test: Establishing connection to mail.messagingengine.com:143.
MainThread: Thread 'Account sync Test' terminated with exception:
Traceback (most recent call last):
   File "/home/jakubi/offlineimap/offlineimap/threadutil.py", line 153, in run
     Thread.run(self)
   File "/usr/lib/python2.4/threading.py", line 422, in run
     self.__target(*self.__args, **self.__kwargs)
   File "/home/jakubi/offlineimap/offlineimap/accounts.py", line 114, in 
syncrunner
     self.sync()
   File "/home/jakubi/offlineimap/offlineimap/accounts.py", line 148, in sync
     remoterepos.syncfoldersto(localrepos, [statusrepos])
   File "/home/jakubi/offlineimap/offlineimap/repository/Base.py", line 135, in 
syncfoldersto
     srcfolders = src.getfolders()
   File "/home/jakubi/offlineimap/offlineimap/repository/IMAP.py", line 190, in 
getfolders
     imapobj = self.imapserver.acquireconnection()
   File "/home/jakubi/offlineimap/offlineimap/imapserver.py", line 224, in 
acquireconnection
     imapobj = UsefulIMAP4(self.hostname, self.port)
   File "/usr/lib/python2.4/imaplib.py", line 160, in _JG_
     self.open(host, port)
   File "/home/jakubi/offlineimap/offlineimap/imapserver.py", line 61, in open
     imaplibutil.new_open(self, host, port)
   File "/home/jakubi/offlineimap/offlineimap/imaplibutil.py", line 139, in 
new_open
     raise socket.error(last_error)
error: 110


No debug messages were logged for Account sync Test.
MainThread: Thread 'Account sync Test' terminated with exception:
MainThread: Traceback (most recent call last):
MainThread:   File "/home/jakubi/offlineimap/offlineimap/threadutil.py", line 
153, in run
MainThread:     Thread.run(self)
MainThread:   File "/usr/lib/python2.4/threading.py", line 422, in run
MainThread:     self.__target(*self.__args, **self.__kwargs)
MainThread:   File "/home/jakubi/offlineimap/offlineimap/accounts.py", line 
114, in syncrunner
MainThread:     self.sync()
MainThread:   File "/home/jakubi/offlineimap/offlineimap/accounts.py", line 
148, in sync
MainThread:     remoterepos.syncfoldersto(localrepos, [statusrepos])
MainThread:   File "/home/jakubi/offlineimap/offlineimap/repository/Base.py", 
line 135, in syncfoldersto
MainThread:     srcfolders = src.getfolders()
MainThread:   File "/home/jakubi/offlineimap/offlineimap/repository/IMAP.py", 
line 190, in getfolders
MainThread:     imapobj = self.imapserver.acquireconnection()
MainThread:   File "/home/jakubi/offlineimap/offlineimap/imapserver.py", line 
224, in acquireconnection
MainThread:     imapobj = UsefulIMAP4(self.hostname, self.port)
MainThread:   File "/usr/lib/python2.4/imaplib.py", line 160, in _JG_
MainThread:     self.open(host, port)
MainThread:   File "/home/jakubi/offlineimap/offlineimap/imapserver.py", line 
61, in open
MainThread:     imaplibutil.new_open(self, host, port)
MainThread:   File "/home/jakubi/offlineimap/offlineimap/imaplibutil.py", line 
139, in new_open
MainThread:     raise socket.error(last_error)
MainThread: error: 110
MainThread:
MainThread:
MainThread: No debug messages were logged for Account sync Test.






[Prev in Thread] Current Thread [Next in Thread]