On Wed, Apr 25, 2018 at 08:03:27PM +0530, Mukuntha Rajaa wrote: > Without corporate VPN, mbsync works just fine. But behind VPN, mbsync > times out. I have pasted strace logs here. Let me know, if you need > any other logs. Is there a way already to make mbsync connect behind > VPN ? > it seems that the vpn blocks the IMAP port, while at the same time routing the office365 ips through itself. that's clearly a misconfiguration. you can try hacking it in the vpnc post-connect script, but unless you actually already did that and caused the problem yourself in the first place, the best solution would be to complain to IT and have them decide whether they want to route all relevant ports, or leave the addresses alone.
alternative routes: - try IMAPS instead of STARTTLS. maybe that port is routed. - try setting up a Tunnel (ssh, corkscrew (socks5), or whatever port does get routed) to a host (within the company network) from which IMAP is routed. that seems kinda backwards, though. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-devel