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 execute


On 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=0


Any idea what could be wrong? I'm using the following IMAP server
string in sogo.conf:

  SOGoIMAPServer = "imap://mail.example.net:143/?tls=YES";



Thanks in advance,

Alex
-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to