diff --git a/offlineimap/imaplibutil.py b/offlineimap/imaplibutil.py index 338f3f5..b29b019 100644 --- a/offlineimap/imaplibutil.py +++ b/offlineimap/imaplibutil.py @@ -164,6 +164,7 @@ class IMAP4_Tunnel(UsefulIMAPMixIn, IMAP4): data = self.compressor.compress(data) data += self.compressor.flush(zlib.Z_SYNC_FLUSH) self.outfd.write(data) + self.outfd.flush() def shutdown(self): self.infd.close()