Author Topic: Avast 8 interferes (*breaks*) SSL email with Gmail (via GMvault backup)  (Read 4576 times)

0 Members and 1 Guest are viewing this topic.

AlanJayWeiner

  • Guest
GMvault is a Python script I've used for a while to back up my Gmail databases.  Worked fine until Avast 8 update.  I posted about Avast 8 GUI issues in another thread; that's resolved by uninstall/reinstall, but Avast 8 still prevents GMvault from working.

I tracked it down to the Mail Shield.  (no surprise; it's retrieving Gmail using IMAP)

(Note:  this is NOT the certificate issue some mail clients have - GMvault successfully connects and communicates with Gmail server; problem occurs after that)

Avast's mail log shows GMvault connects to Gmail, gets the info about labels, etc.   Sometimes, the connection lasts to allow GMvault to issue an IMAP COMPRESS command and Gmail sends the OK Success

Ether right after the XLIST or COMPRESS command, the log shows either:

1)  indicates Avast received 19 characters from the client; nothing is shown about what was received, and nothing else is logged during that session.   Eventually GMvault times out and shuts down.
(IMAP XLIST results from Gmail...)
3/18/2013   9:33:39 PM   0000129C:   <-IMAP * XLIST (\HasNoChildren) "/" "vendor/xxxxxx"
3/18/2013   9:33:39 PM   0000129C:   sent (C) 46
3/18/2013   9:33:39 PM   0000129C:   <-IMAP HKCO2 OK Success
3/18/2013   9:33:39 PM   0000129C:   sent (C) 18
3/18/2013   9:33:39 PM   0000129C:   received (C) 34
3/18/2013   9:33:39 PM   0000129C:   ->IMAP HKCO3 EXAMINE "[Gmail]/All Mail"
3/18/2013   9:33:39 PM   0000129C:   sent (S) 34
3/18/2013   9:33:42 PM   0000129C:   received (S) 267
3/18/2013   9:33:42 PM   0000129C:   <-IMAP * FLAGS (\Answered \Flagged \Draft \Deleted \Seen)
3/18/2013   9:33:42 PM   0000129C:   sent (C) 52
3/18/2013   9:33:42 PM   0000129C:   <-IMAP * OK [PERMANENTFLAGS ()] Flags permitted.
3/18/2013   9:33:42 PM   0000129C:   sent (C) 43
3/18/2013   9:33:42 PM   0000129C:   <-IMAP * OK [UIDVALIDITY 999999999] UIDs valid.
3/18/2013   9:33:42 PM   0000129C:   sent (C) 42
3/18/2013   9:33:42 PM   0000129C:   <-IMAP * 99999 EXISTS
3/18/2013   9:33:42 PM   0000129C:   sent (C) 16
3/18/2013   9:33:42 PM   0000129C:   <-IMAP * 0 RECENT
3/18/2013   9:33:42 PM   0000129C:   sent (C) 12
3/18/2013   9:33:42 PM   0000129C:   <-IMAP * OK [UIDNEXT 999999] Predicted next UID.
3/18/2013   9:33:42 PM   0000129C:   sent (C) 43
3/18/2013   9:33:42 PM   0000129C:   <-IMAP HKCO3 OK [READ-ONLY] [Gmail]/All Mail selected. (Success)
3/18/2013   9:33:42 PM   0000129C:   sent (C) 59
3/18/2013   9:33:42 PM   0000129C:   received (C) 24
3/18/2013   9:33:42 PM   0000129C:   ->IMAP HKCO4 COMPRESS DEFLATE
3/18/2013   9:33:42 PM   0000129C:   sent (S) 24
3/18/2013   9:33:43 PM   0000129C:   received (S) 18
3/18/2013   9:33:43 PM   0000129C:   <-IMAP HKCO4 OK Success
3/18/2013   9:33:43 PM   0000129C:   sent (C) 18
3/18/2013   9:33:43 PM   0000129C:   received (C) 56
3/18/2013   9:34:53 PM   0000129C:   received (C) 19
(at this point nothing is logged; GMvault times out and shuts itself down.  nothing logged until I run GMvault again)

or

2)  same, but indicates 0 characters received from the client and then indicates CATCH 38 and SSL problem:

3/18/2013   9:36:19 PM   0000110C:   ->IMAP HPOF2 XLIST "" *
3/18/2013   9:36:19 PM   0000110C:   sent (S) 18
3/18/2013   9:36:19 PM   0000110C:   received (S) 1400
3/18/2013   9:36:19 PM   0000110C:   <-IMAP * XLIST (\HasNoChildren) "/" "xxxxxxxxxxxxxxxx"
3/18/2013   9:36:19 PM   0000110C:   sent (C) 49
 ...
3/18/2013   9:36:21 PM   0000110C:   <-IMAP * XLIST (\HasNoChildren) "/" "vendor/xxxxxxx"
3/18/2013   9:36:21 PM   0000110C:   sent (C) 47
3/18/2013   9:36:21 PM   0000110C:   received (S) 87
3/18/2013   9:36:21 PM   0000110C:   <-IMAP * XLIST (\HasNoChildren) "/" "vendor/xxxxx"
3/18/2013   9:36:21 PM   0000110C:   sent (C) 45
3/18/2013   9:36:21 PM   0000110C:   <-IMAP * XLIST (\HasNoChildren) "/" "vendor/xxxxxx"
3/18/2013   9:36:21 PM   0000110C:   sent (C) 46
3/18/2013   9:36:21 PM   0000110C:   <-IMAP HPOF2 OK Success
3/18/2013   9:36:21 PM   0000110C:   sent (C) 18
3/18/2013   9:36:21 PM   00000BB8:   received (C) 0
3/18/2013   9:36:21 PM   00000BB8:   --IMAP CATCH 38
3/18/2013   9:36:21 PM   00000BB8:   SSL3 alert write: warning: close notify
3/18/2013   9:36:21 PM   0000110C:   received (C) 34
3/18/2013   9:36:21 PM   00000E74:   received (C) 0
3/18/2013   9:36:21 PM   00000BB8:   SSL3 alert write: warning: close notify
3/18/2013   9:36:21 PM   0000110C:   ->IMAP HPOF3 EXAMINE "[Gmail]/All Mail"
3/18/2013   9:36:21 PM   00000E74:   --IMAP CATCH 38
3/18/2013   9:36:21 PM   00000BB8:   --IMAP Finishing connection handler
3/18/2013   9:36:21 PM   0000110C:   sent (S) 34
3/18/2013   9:36:21 PM   00000E74:   SSL3 alert write: warning: close notify
3/18/2013   9:36:21 PM   00000E74:   SSL3 alert write: warning: close notify
3/18/2013   9:36:21 PM   00000E74:   --IMAP Finishing connection handler


Offline vojtech

  • Avast team
  • Advanced Poster
  • *
  • Posts: 939
    • ALWIL Software
Hello,
the COMPRESS command is unfortunately not implemented in the Mail shield, so if it cannot be disabled in GMvault, it's not possible to scan GMvault's connections by the Mail shield.

e128597

  • Guest
see https://github.com/gaubert/gmvault/issues/115#issuecomment-15448505
gmvault will receive a setting to disable compression
workaround: For the Mail Shield, disable "Scan inbound mail".