hello, Le 04/06/2019 à 12:35, Alexander Koch ([email protected]) a écrit :
Hi all,I'm trying to use Sogo (4.0.7-1 from Debian Buster) to connect to a Dovecot (2.3.4.1 from Debian Buster) instance running on another host via IMAP (port 143, TLS). I'm getting the following error ('sogo.log', all debug options on):sogod [4426]: <0x0x55b28a41dde0[NGImap4Client]> TLS started successfully. sogod [4426]: <0x0x55b28a41dde0[NGImap4Client]> ERROR(-[NGImap4Client _processUnknownCommandParserException:]): catched non-IMAP4 parsing exception UnexpectedEndOfStream: the parsed stream ended unexpectedly sogod [4426]: [ERROR] <0x0x55b28a777e30[NGImap4ConnectionManager]> IMAP4 login failed: host=mail.example.net, [email protected], pwd=yes url=imaps://user%[email protected]/?tls=YES base=(null) base-class=(null)) = <0x0x55b28a41dde0[NGImap4Client]: [email protected](pwd) socket=<NGActiveSSLSocket[0x0x55b28a716750]: mode=rw address=(null)>> sogod [4426]: [ERROR] <0x55b28a7ea850[SOGoMailAccount]:0> Could not connect IMAP4 sogod [4426]: |SOGo| request took 0.522964 seconds to executeOn the Dovecot side it looks just like a successful login but no IMAP commands being sent by the client:dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=xxx.xxx.xxx.xxx, lip=xxx.xxx.xxx.xxx, mpid=8371, TLS, session=<nobAAHuK5pdf2LoP> dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=xxx.xxx.xxx.xxx, lip=xxx.xxx.xxx.xxx, mpid=8373, TLS, session=<LsPDAHuK6Jdf2LoP> dovecot: imap([email protected])<8371><nobAAHuK5pdf2LoP>: Connection closed (No commands sent) in=0 out=379 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 dovecot: imap([email protected])<8373><LsPDAHuK6Jdf2LoP>: Connection closed (No commands sent) in=0 out=379 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0Any idea what could be wrong? I'm using the following IMAP server string in sogo.conf: SOGoIMAPServer = "imap://mail.example.net:143/?tls=YES";
have you tried using imaps://... instead of imap:// ?
Thanks in advance, Alex
-- Daniel Le Bray :: CRI :: Pôle Systèmes et Réseaux [email protected] :: +33 (0)2 32 74 42 94 Universite Le Havre Normandie 25 rue Philippe Lebon, BP1123, 76063 Le Havre Cedex, France ========================================================== J'accepte les emails VSRE (http://vsre.info/index_fr.html)
smime.p7s
Description: Signature cryptographique S/MIME
