Re: dovecot ssl error message from my own connections

2019-04-01 Thread Dmitry Donskih via dovecot
"Connection reset by peer" means client breaks connection, not server.

Client expects non-SSL connection? Client somehow fails over to non-SSL?
STARTTLS where TLS expected? Client fails to verify server certificate?

Or you use misconfigured imap-proxy?

Have a look at *client* logs. You may try "openssl s_client -connect
server:port -showcerts" on client side.

30.03.2019 15:20, Esteban L via dovecot wrote:
> Hello all,
>
> Just a minor thing. Not a big deal, because everything works fine, and
> I feel secure with my setup.
>
> But, I get this error message pretty much throughout the day/night,
> which appears to come from my own mail clients (desktop or mobile).
> I would like to resolve it, because it must me something (that is not
> good--that I may not understand), that may have other ramifications.
>
> So, here it is.
>
> date time myserver dovecot: imap-login: Debug: SSL error: SSL_read()
> syscall failed: Connection reset by peer
>
>
> Anyone have a suggestion of what this might hint to, other than obvious
> SSL. I tried parsing through various logs, but the most I find is just
> this single line.
>
> I can produce it, whenever I close my email client.
>
> Thanks in advance.


Re: dovecot ssl error message from my own connections

2019-03-30 Thread Esteban L via dovecot
Thanks! I will have a look.

-Original Message-
From: @lbutlr via dovecot 
Reply-to: "@lbutlr" 
To: Davide Marchi via dovecot 
Subject: Re: dovecot ssl error message from my own connections
Date: Sat, 30 Mar 2019 06:28:06 -0600

On 30 Mar 2019, at 06:20, Esteban L via dovecot 
wrote:
> date time myserver dovecot: imap-login: Debug: SSL error: SSL_read()
> syscall failed: Connection reset by peer

I don't get that particular message, but in general Debug messages are
informational, not errors or warnings. Seems like the likely cause is
you MUA is not closing out the session properly.

Start looking for "dovecot.*Debug" in your logs and you're going to see
a lot of lines (so many that i have them logged into a separate file).




Re: dovecot ssl error message from my own connections

2019-03-30 Thread Esteban L via dovecot
Opps, forgot that important requirment! sorry

Dovecot 2.2.27 

-Original Message-
From: Aki Tuomi 
Reply-to: Aki Tuomi 
To: este...@little-beak.com, Esteban L via dovecot 
Subject: Re: dovecot ssl error message from my own connections
Date: Sat, 30 Mar 2019 14:25:41 +0200 (EET)

> On 30 March 2019 14:20 Esteban L via dovecot < dovecot@dovecot.org>
> wrote:
> 
> 
> Hello all,
> 
> Just a minor thing. Not a big deal, because everything works fine,
> and
> I feel secure with my setup.
> 
> But, I get this error message pretty much throughout the day/night,
> which appears to come from my own mail clients (desktop or mobile).
> I would like to resolve it, because it must me something (that is not
> good--that I may not understand), that may have other ramifications.
> 
> So, here it is.
> 
> date time myserver dovecot: imap-login: Debug: SSL error: SSL_read()
> syscall failed: Connection reset by peer
> 
> 
> Anyone have a suggestion of what this might hint to, other than
> obvious
> SSL. I tried parsing through various logs, but the most I find is
> just
> this single line.
> 
> I can produce it, whenever I close my email client.
> 
> Thanks in advance.

Which version of dovecot is this?
---
Aki Tuomi


Re: dovecot ssl error message from my own connections

2019-03-30 Thread @lbutlr via dovecot
On 30 Mar 2019, at 06:20, Esteban L via dovecot  wrote:
> date time myserver dovecot: imap-login: Debug: SSL error: SSL_read()
> syscall failed: Connection reset by peer

I don't get that particular message, but in general Debug messages are 
informational, not errors or warnings. Seems like the likely cause is you MUA 
is not closing out the session properly.

Start looking for "dovecot.*Debug" in your logs and you're going to see a lot 
of lines (so many that i have them logged into a separate file).


-- 
There is something to be said for grace and respect but humour alway
helps - Toby Morris





Re: dovecot ssl error message from my own connections

2019-03-30 Thread Aki Tuomi via dovecot


 
 
  
   
  
  
   
On 30 March 2019 14:20 Esteban L via dovecot <
dovecot@dovecot.org> wrote:
   
   

   
   

   
   
Hello all,
   
   

   
   
Just a minor thing. Not a big deal, because everything works fine, and
   
   
I feel secure with my setup.
   
   

   
   
But, I get this error message pretty much throughout the day/night,
   
   
which appears to come from my own mail clients (desktop or mobile).
   
   
I would like to resolve it, because it must me something (that is not
   
   
good--that I may not understand), that may have other ramifications.
   
   

   
   
So, here it is.
   
   

   
   
date time myserver dovecot: imap-login: Debug: SSL error: SSL_read()
   
   
syscall failed: Connection reset by peer
   
   

   
   

   
   
Anyone have a suggestion of what this might hint to, other than obvious
   
   
SSL. I tried parsing through various logs, but the most I find is just
   
   
this single line.
   
   

   
   
I can produce it, whenever I close my email client.
   
   

   
   
Thanks in advance.
   
  
  
   
  
  
   Which version of dovecot is this?
  
  
   ---
Aki Tuomi