nicolas.s-dev at laposte.net
Wed Apr 27 22:17:52 BST 2011
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_
More information about the OfflineIMAP-project