Getting a timeout every run for ipv6 on gmail.
james at jamesmac in ~ ○ mbsync -D -a
Reading configuration file /Users/james/.mbsyncrc
Channel gmail-inbox
Opening master store gmail-remote...
Resolving imap.gmail.com... ok
Connecting to imap.gmail.com ([2607:f8b0:400e:c00::6d]:993)...
Opening slave store gmail-local...
pattern 'Arch*' (effective 'Arch*'): Path, no INBOX
pattern 'INBOX' (effective 'INBOX'): Path, INBOX
got mailbox list from slave:
INBOX
trash
starred
sent
all
Cannot connect to imap.gmail.com ([2607:f8b0:400e:c00::6d]:993): Operation timed out
Connecting to imap.gmail.com (173.194.202.108:993)...
Connection is now encrypted
* OK Gimap ready for requests from 73.189.102.185 mw7mb904225826ieb
>>> 1 CAPABILITY
>>> ETCETCETC~~
Diff:
do you actually have working ipv6 routing? do you get through if you use openssl s_client?
I checked and in one of my locations and ipv6 does not work there for some reason.
https://www.dropbox.com/s/tfr6rse02dmz8uu/ipv6.png?dl=0
ok, so mbsync is apparently working as expected.
if you can't get it to reliably, a possible workaround is to hack the dns resolution config to avoid returning AAAA records (single-request in resolv.conf may work. other than that, dnsmasq may be configured to suppress AAAA records).
Thanks, I'll just go down that route.
For OSX,
$ networksetup -setv6off Wi-Fi