Bug 1570361

Summary: Premature LOGOUT disconnect on SSL connections - BYE not flushed / correctly sent (RHEL6)
Product: Red Hat Enterprise Linux 6 Reporter: Graham Leggett <minfrin>
Component: dovecotAssignee: Michal Hlavinka <mhlavink>
Status: CLOSED WONTFIX QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.10CC: toneata
Target Milestone: rcKeywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-07-03 12:29:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Graham Leggett 2018-04-22 10:31:34 UTC
Description of problem:

When an IMAP client connecting to dovecot sends the LOGOUT command, dovecot immediately terminates the connection, and the BYE response is not sent to the client.

This in turn triggers further bugs in Limilabs IMAP client / Docuware, which in turn renders it impossible for Docuware v6.12 to log in successfully to a Redhat SSL IMAP server.

Version-Release number of selected component (if applicable):

dovecot-2.0.9-22.el6.x86_64

How reproducible:
Steps to Reproduce:
Actual results:
Expected results:

All identical to https://bugzilla.redhat.com/show_bug.cgi?id=1570017

Additional info:

Downloaded the SRPM for dovecot and applied the following two patches, and the problem was fixed:

https://dovecot.org/list/dovecot-cvs/2014-June/024504.html
https://www.dovecot.org/list/dovecot-cvs/2014-June/024509.html

The same fix for 1570017 for RHEL7 applies here and fixes the problem in RHEL6.