Unable to connect to IMAP [not relevant]

asked 2013-12-30 18:44:55 +0200

evk gravatar image

updated 2014-12-12 23:12:49 +0200

simo gravatar image

I've got a IMAP server, that uses TLS and I can't get my Jolla to connect to it.

Followed instructions in https://together.jolla.com/question/4336/email-cannot-log-in-to-macos-imap-server/ and this is the result.

(Local IP in the log, but that's fine. I'm on the same LAN)

[6988] dec 30 17:24:10 [Debug] IMAP :  "36" About to open connection "USERNAME" "192.168.0.10" 
[6988] dec 30 17:24:10 [Debug] Messaging :  QMailTransport::Socket::Socket SET PROXY host= "" port= 0 
[6988] dec 30 17:24:10 [Debug] Messaging :  Opening connection -  "192.168.0.10" : 993  TLS 
[6988] dec 30 17:24:10 [Debug] Messaging :  IMAP : connection established 
[6988] dec 30 17:26:11 [Warning] Expired request: 4685809320055 
[6988] dec 30 17:26:11 [Debug] Messaging :  Deregistering service: "imap4" for account: 5 
[6988] dec 30 17:26:11 [Warning] Would not determine server/action completing 
[6988] dec 30 17:26:11 [Debug] Messaging :  Deregistering service: "smtp" for account: 5 
[6988] dec 30 17:26:11 [Warning] Would not determine server/action completing 
[6988] dec 30 17:26:11 [Debug] identityimpl.cpp 103 updateState Updating state:  PendingRegistration 
[6988] dec 30 17:26:11 [Debug] Messaging :  bool SSOSessionManager::createSsoIdentity(const QMailAccountId&, const QString&, int) Creating SSO identity for the service  "imap4"  from account  5  using authentication method  "password" 
[6988] dec 30 17:26:11 [Debug] authsessionimpl.cpp 174 initInterface 
[6988] dec 30 17:26:11 [Debug] authsessionimpl.cpp 270 process sending to queue 
[6988] dec 30 17:26:11 [Debug] IMAP :  void ImapClient::setAccount(const QMailAccountId&) SSO identity is found for account id:  5 
[6988] dec 30 17:26:11 [Debug] Messaging :  Registering service: "imap4" for account: 5 
[6988] dec 30 17:26:11 [Debug] identityimpl.cpp 103 updateState Updating state:  PendingRegistration

I'm using a self signed cert on the the server, but as far as I've understood from other posts, that's supposed to work.

edit retag flag offensive reopen delete

The question has been closed for the following reason "question is not relevant or outdated" by molan
close date 2014-06-06 20:20:54.505937

Comments

the cert I use on my IMAP server is also self signed, that should work yes... but for me after "IMAP : connection established", I get a "Encrypted connect warnings: "'The certificate is self-signed, and untrusted'"" and next 'Messaging : IMAP : Secure connection established' that's missing here

Kontio ( 2013-12-30 20:16:48 +0200 )edit

can you evt. also follow what's going on on server side and take a log there? Just notice now, between "IMAP : connection established" there it runs in a timeout after 2mins... seems ssl handshake fails for some reason...

Kontio ( 2013-12-30 20:18:57 +0200 )edit

This is all that appears in at the server side. Maybe I could set another log level. dovecot: imap-login: Disconnected: Inactivity: rip=192.168.0.133, lip=192.168.0.10, TLS handshake

evk ( 2014-01-01 21:23:00 +0200 )edit

set verbose_ssl = yes, in /etc/dovecot/conf.d/10-logging.conf, then you should get more details what goes wrong with ssl handshake

Kontio ( 2014-01-01 21:34:47 +0200 )edit

@evk - You are using port 993 for TLS, are you sure that's your server port ? Normally it's 587 for TLS, 993 for SSL.

VDVsx ( 2014-01-28 11:06:19 +0200 )edit