> > 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";  
> 
> have you tried using imaps://... instead of imap:// ?

If I substitude 'imap' by 'imaps' and keep '?tls=YES' then very bad
things seem to happen:

The web interface does shows a blank (white) page and I see the
following in sogo.log:

> sogod [7856]: [WARN] <0x0x5612ca44e230[WOWatchDogChild]> pid 7857 has been 
> hanging in the same request for 1 minutes


Kind regards,

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

Reply via email to