TLS?

Nicolas Sebrecht nicolas.s-dev at laposte.net
Sat May 7 13:03:59 BST 2011


On Wed, Apr 27, 2011 at 11:17:52PM +0200, Nicolas Sebrecht wrote:
> 
> On Sat, Apr 09, 2011 at 03:13:58PM +0200, Sebastian Spaeth wrote:
> 
> > Good to know, now someone needs *only* :-) to write a patch to bail out
> > with a more helpful error message. A misconfigured port leading to such
> > an opaque error message is probably not the best of all things.
> > 
> > E.g. something like this at the right place:
> > 
> > except ssl.error, e:
> >     if repository.getint('port') != 443 and str(e)=='SSL:bla bla':
> >         raise SyntaxWarning('SSL version could not be detected and '
> >     'non-standard port %d for SSL configured. Make sure your'
> >     'configuration is correct.' % repository.getint('port'))
> 
> Would be nice to have a patch for this. I expect this is a _common_
> issue...

I didn't see much improvements around this. Anyone? Really?

-- 
Nicolas Sebrecht




More information about the OfflineIMAP-project mailing list