Bug 1632958 - isync fails to sync to gmail with TLS and SNI
Summary: isync fails to sync to gmail with TLS and SNI
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: isync
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Fabian Affolter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1659020 1662065 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-25 22:26 UTC by Chris Irwin
Modified: 2023-06-27 00:20 UTC (History)
36 users (show)

Fixed In Version: isync-1.3.1-1.fc30 isync-1.3.1-1.fc29 isync-1.3.1-1.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-08 00:58:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
patch I'm using in a local build (888 bytes, patch)
2018-10-29 10:25 UTC, Christophe Fergeau
no flags Details | Diff

Description Chris Irwin 2018-09-25 22:26:28 UTC
Description of problem:
Attempting to sync a gmail imap account fails with a certificate verification error. The apparent cause is isync not supporting SNI.

Version-Release number of selected component (if applicable):
1.3.0-3.fc29

How reproducible:
Every time

Steps to Reproduce:
1. Configure isync to sync remote gmail mailbox to local maildir
2. Run isync

Actual results:
SSL error connecting imap.gmail.com ([2607:f8b0:4001:c20::6d]:993): self signed certificate


Expected results:
Connecting to imap.gmail.com ([2607:f8b0:4001:c12::6d]:993)...

Additional info:
Found a discussion on Arch Linux forum: https://bbs.archlinux.org/viewtopic.php?id=240429

References a fix upstream: https://sourceforge.net/p/isync/isync/ci/17babc1695e82ca80d032b79e920fcb86ede2347/tree/src/socket.c?diff=f698f16967ae8341ff4b506f96b8cd5790c05d27

Additionally, forcing TLSv1.1 seems to work around the issue.

Comment 1 Daniel Stone 2018-10-08 09:07:55 UTC
It would be great if this patch could be pulled so isync could work with GMail again. I would've prepared an update in a COPR, but fedpkg is currently refusing to start: https://pagure.io/fedpkg/issue/286

Comment 2 Amy Watson 2018-10-09 12:03:36 UTC
When I have used the version of mbsync which is in the Ubuntu 13.10 so it worked fine except it does not sync only Gmail sent mail even I have changed the setting of Gmail Account. Anyone can tell me the solution of this problem. Once, I didn’t recover deleted message accidentally then I visited this site https://www.gmailtechnicalsupportnumbers.com/optimum-email-support/ and resolved my issue.

Comment 3 Christophe Fergeau 2018-10-29 10:25:08 UTC
Created attachment 1498465 [details]
patch I'm using in a local build

This backports the patch fixing that issue.

Comment 4 Christophe Fergeau 2018-10-29 10:36:14 UTC
It's missing

+BuildRequires:  git-core
+BuildRequires:  perl-TimeDate

Scratch build with these changes at https://koji.fedoraproject.org/koji/taskinfo?taskID=30540567

Comment 5 Thorsten Scherf 2018-11-08 12:08:28 UTC
Temporary workaround is to add 'SSLVersions TLSv1.1' to '~/.mbsyncrc'.

Comment 6 Evgeni Golov 2018-12-13 11:28:20 UTC
*** Bug 1659020 has been marked as a duplicate of this bug. ***

Comment 7 Rafael Ávila de Espíndola 2019-05-08 19:25:23 UTC
This issue is still present on fedora 30

Comment 8 Christophe Fergeau 2019-05-13 06:53:48 UTC
*** Bug 1662065 has been marked as a duplicate of this bug. ***

Comment 9 Christophe Fergeau 2019-05-13 06:57:02 UTC
Can we get a build with the patch fixing this issue?

Comment 10 Fedora Update System 2019-05-30 09:36:25 UTC
FEDORA-2019-a3e996a0ab has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-a3e996a0ab

Comment 11 Fedora Update System 2019-05-30 09:47:04 UTC
FEDORA-2019-d71a467141 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-d71a467141

Comment 12 Fedora Update System 2019-05-30 09:57:10 UTC
FEDORA-EPEL-2019-6fc3c83374 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-6fc3c83374

Comment 13 Fedora Update System 2019-05-31 00:53:04 UTC
isync-1.3.1-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-a3e996a0ab

Comment 14 Fedora Update System 2019-05-31 01:36:46 UTC
isync-1.3.1-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-6fc3c83374

Comment 15 Fedora Update System 2019-05-31 03:00:15 UTC
isync-1.3.1-1.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-d71a467141

Comment 16 Fedora Update System 2019-06-08 00:58:11 UTC
isync-1.3.1-1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.

Comment 17 Fedora Update System 2019-06-08 02:13:09 UTC
isync-1.3.1-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.

Comment 18 Fedora Update System 2019-06-15 00:24:53 UTC
isync-1.3.1-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.

Comment 19 James Bondela 2019-07-18 09:59:09 UTC Comment hidden (spam)
Comment 20 abdul aziz 2019-07-18 10:58:18 UTC Comment hidden (spam)
Comment 21 Mark Smith 2019-07-26 10:36:12 UTC Comment hidden (spam)
Comment 22 noushad amir 2019-08-13 07:35:46 UTC Comment hidden (spam)
Comment 23 zenith sez 2019-08-21 09:04:45 UTC Comment hidden (spam)
Comment 24 John Wright 2019-10-06 08:56:16 UTC Comment hidden (spam)
Comment 26 Robert Milan 2019-11-19 11:54:49 UTC Comment hidden (spam)
Comment 27 will won 2019-12-12 09:52:56 UTC Comment hidden (spam)
Comment 28 mvrupesh 2019-12-31 12:40:08 UTC Comment hidden (spam)
Comment 29 Jamy busker 2020-01-02 11:05:01 UTC Comment hidden (spam)
Comment 30 Jimmy Jack 2020-02-10 09:48:05 UTC Comment hidden (spam)
Comment 31 haleybrown 2020-02-27 06:01:10 UTC Comment hidden (spam)
Comment 32 haleybrown 2020-02-27 08:01:50 UTC Comment hidden (spam)
Comment 33 haleybrown 2020-02-27 10:33:22 UTC Comment hidden (spam)
Comment 34 haleybrown 2020-02-28 04:58:04 UTC Comment hidden (spam)
Comment 35 Mark James 2020-06-03 04:14:44 UTC Comment hidden (spam)
Comment 36 AngelaAngie 2020-06-15 01:17:24 UTC Comment hidden (spam)
Comment 37 SiashMed 2020-11-30 06:40:42 UTC Comment hidden (spam)
Comment 38 ahrefsfirst 2020-12-17 22:33:29 UTC Comment hidden (spam)
Comment 39 Ajay Singh 2020-12-18 06:40:11 UTC Comment hidden (spam)
Comment 40 Ajay Singh 2020-12-18 06:41:53 UTC Comment hidden (spam)
Comment 41 Ajay Singh 2020-12-18 06:44:40 UTC Comment hidden (spam)
Comment 42 Shirin Rais 2021-04-07 06:32:23 UTC Comment hidden (spam)
Comment 43 Macron Will 2022-04-26 05:28:12 UTC Comment hidden (spam)
Comment 44 Macron Will 2022-04-26 05:30:21 UTC Comment hidden (spam)
Comment 45 ovince564 2022-11-09 12:30:58 UTC Comment hidden (spam)
Comment 46 vocexo7464 2022-11-09 12:43:35 UTC Comment hidden (spam)
Comment 47 du hast 2022-12-12 04:45:27 UTC Comment hidden (spam)
Comment 48 Dewan Md Al Yeasin 2023-03-27 21:13:27 UTC Comment hidden (spam)
Comment 49 Sofster 2023-06-26 06:24:51 UTC Comment hidden (spam)
Comment 50 Sofster 2023-06-26 06:26:35 UTC Comment hidden (spam)

Note You need to log in before you can comment on or make changes to this bug.