Complete.Org: Mailing Lists: Archives: offlineimap: September 2009:
Re: Error while running offlineimap
Home

Re: Error while running offlineimap

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: offlineimap <offlineimap@xxxxxxxxxxxx>
Subject: Re: Error while running offlineimap
From: Mike Dawson <mike@xxxxxxxxxxxxxxxxx>
Date: Sat, 05 Sep 2009 08:20:23 +0430

Hi,

Unfortunately socket error could be just about anything (hostname, port, 
connectivity, whatever) - I don't know if imaplib by default does 
certificate verification against trusted known root CAs - does your mail 
ssl server have a valid certificate?  Does your mail client issue any 
certificate warnings?

Regards,

-Mike

Ajeet Grewal wrote:
> Hey guys,
>
> I get the following error while running offlineimap
>
> == ERROR ==
> Traceback (most recent call last):
>   File 
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/offlineimap/threadutil.py",
>  line 149, in run
>     Thread.run(self)
>   File 
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py",
>  line 477, in run
>     self.__target(*self.__args, **self.__kwargs)
>   File 
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/offlineimap/accounts.py",
>  line 183, in syncrunner
>     self.sync(siglistener)
>   File 
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/offlineimap/accounts.py",
>  line 220, in sync
>     remoterepos.syncfoldersto(localrepos, [statusrepos])
>   File 
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/offlineimap/repository/Base.py",
>  line 135, in syncfoldersto
>     srcfolders = src.getfolders()
>   File 
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/offlineimap/repository/IMAP.py",
>  line 214, in getfolders
>     imapobj = self.imapserver.acquireconnection()
>   File 
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/offlineimap/imapserver.py",
>  line 259, in acquireconnection
>     self.sslclientkey, self.sslclientcert)
>   File 
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/imaplib.py",
>  line 1137, in __init__
>     IMAP4.__init__(self, host, port)
>   File 
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/imaplib.py",
>  line 163, in __init__
>     self.open(host, port)
>   File 
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/offlineimap/imapserver.py",
>  line 85, in open
>     imaplibutil.new_open_ssl(self, host, port)
>   File 
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/offlineimap/imaplibutil.py",
>  line 171, in new_open_ssl
>     raise socket.error(last_error)
> error: 61
>
>
> Last 1 debug messages logged for Account sync FAS prior to exception:
> maildir: MaildirRepository initialized, sep is '.'
> == END ERROR ==
>
> After some digging around I found that this was raised on line 166 of
> imaplibutil.py by the socket.connect_ex() method. 
>
> I am lost after that though. Any ideas why this is happening? BTW, I can
> connect to the same imap server using my mail client.
>
>   

===========================================================================
This Email sent by PAIWASTOON Supreme Server - Instant Send/Receive Office 
Email/Web Acceleration System !
Learn more at: www.paiwastoon.af/supreme
=========================================================================== 



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