config assistance [errno.ECONNREFUSED]
Philippe LeCavalier
support at plecavalier.com
Thu Dec 15 16:32:51 GMT 2011
Sorry. I meant to.
On Thu, 2011-12-15 at 18:25 +0200, Daniel Shahaf wrote:
> Could you send this to the list please? It seems that it dies during
> the STARTTLS handshake.
>
> Philippe LeCavalier wrote on Thu, Dec 15, 2011 at 11:17:48 -0500:
> > On Thu, 2011-12-15 at 17:49 +0200, Daniel Shahaf wrote:
> > > Philippe LeCavalier wrote on Thu, Dec 15, 2011 at 10:42:25 -0500:
> > > > On Thu, 2011-12-15 at 17:34 +0200, Daniel Shahaf wrote:
> > > > >
> > > > > Can you add this line:
> > > > >
> > > > > import errno
> > > > >
> > > > > to the top of imapserver.py and try again?
> > > >
> > > > Sure. Where would I find that file? ;)
> > > >
> > >
> > > Its path is mentioned in the error message.
> > >
> > > > Phil
> > > >
> > oops...here you go:
> >
> > Account sync PLC:
> > WARNING: Error occured attempting to sync account 'PLC':
> > Traceback (most recent call last):
> > File "/usr/lib/pymodules/python2.6/offlineimap/accounts.py", line 177,
> > in syncrunner
> > self.sync()
> > File "/usr/lib/pymodules/python2.6/offlineimap/accounts.py", line 235,
> > in sync
> > remoterepos.syncfoldersto(localrepos, [statusrepos])
> > File "/usr/lib/pymodules/python2.6/offlineimap/repository/Base.py",
> > line 124, in syncfoldersto
> > srcfolders = src.getfolders()
> > File "/usr/lib/pymodules/python2.6/offlineimap/repository/IMAP.py",
> > line 276, in getfolders
> > imapobj = self.imapserver.acquireconnection()
> > File "/usr/lib/pymodules/python2.6/offlineimap/imapserver.py", line
> > 246, in acquireconnection
> > imapobj.starttls()
> > File "/usr/lib/pymodules/python2.6/offlineimap/imaplib2.py", line
> > 1037, in starttls
> > self.sock = ssl.wrap_socket(self.sock, keyfile, certfile)
> > File "/usr/lib/python2.6/ssl.py", line 338, in wrap_socket
> > suppress_ragged_eofs=suppress_ragged_eofs)
> > File "/usr/lib/python2.6/ssl.py", line 120, in __init__
> > self.do_handshake()
> > File "/usr/lib/python2.6/ssl.py", line 279, in do_handshake
> > self._sslobj.do_handshake()
> > error: [Errno 104] Connection reset by peer
> >
> > ***** Finished processing account PLC
> >
More information about the OfflineIMAP-project
mailing list