Bug #270

IMAP4 gmail connection failure

Added by Andrew Savchenko 9 months ago. Updated 9 months ago.

Status:NewStart date:02/09/2017
Priority:NormalDue date:
Assignee:Hiroyuki Yamamoto% Done:

0%

Category:LibSylphSpent time:-
Target version:3.5

Description

Hi,

After setting up IMAP4 account for gmail sylpheed fails to connect.
I tried both wizard and manual configuration. POP3 works fine.
I can successfully connect to imap.gmail.com:993 from the same host
using openssl s_client, so something is wrong with sylpheed.

Sylpheed version is 3.5.1 on Gentoo.

From sylpheed's log window:

* creating IMAP4 connection to imap.gmail.com:993 ...
** LibSylph-WARNING: [11:03:53] Can't connect to IMAP4 server: imap.gmail.com:993

** Can't connect to IMAP4 server: imap.gmail.com:993
** LibSylph-WARNING: [11:03:53] Could not establish IMAP connection.

** Could not establish IMAP connection.

From tcpdump (client ip renamed):

11:03:43.024758 IP local.ip.53654 > 64.233.164.108.993: Flags [S], seq 1460861922, win 29200, options [mss 1460,nop,nop,sackOK,nop,wscale 7], length 0
11:03:43.024947 IP local.ip.44854 > 64.233.164.109.993: Flags [S], seq 3492314402, win 29200, options [mss 1460,nop,nop,sackOK,nop,wscale 7], length 0
11:03:43.298581 IP 64.233.164.108.993 > local.ip.53654: Flags [S.], seq 3085423617, ack 1460861923, win 42900, options [mss 1052,nop,nop,sackOK,nop,wscale 7], length 0
11:03:43.298667 IP local.ip.53654 > 64.233.164.108.993: Flags [R], seq 1460861923, win 0, length 0
11:03:43.298733 IP 64.233.164.109.993 > local.ip.44854: Flags [S.], seq 1175239981, ack 3492314403, win 42900, options [mss 1052,nop,nop,sackOK,nop,wscale 7], length 0
11:03:43.298783 IP local.ip.44854 > 64.233.164.109.993: Flags [R], seq 3492314403, win 0, length 0
11:03:53.126386 IP local.ip.53658 > 64.233.164.108.993: Flags [S], seq 1677838290, win 29200, options [mss 1460,nop,nop,sackOK,nop,wscale 7], length 0
11:03:53.126546 IP local.ip.44858 > 64.233.164.109.993: Flags [S], seq 3408030408, win 29200, options [mss 1460,nop,nop,sackOK,nop,wscale 7], length 0
11:03:53.399837 IP 64.233.164.109.993 > local.ip.44858: Flags [S.], seq 1752631694, ack 3408030409, win 42900, options [mss 1052,nop,nop,sackOK,nop,wscale 7], length 0
11:03:53.399954 IP local.ip.44858 > 64.233.164.109.993: Flags [R], seq 3408030409, win 0, length 0
11:03:53.400023 IP 64.233.164.108.993 > local.ip.53658: Flags [S.], seq 174296593, ack 1677838291, win 42900, options [mss 1052,nop,nop,sackOK,nop,wscale 7], length 0
11:03:53.400059 IP local.ip.53658 > 64.233.164.108.993: Flags [R], seq 1677838291, win 0, length 0

I have no idea why Sylpheed sends RST here...

History

#1 Updated by Hiroyuki Yamamoto 9 months ago

Please show the output with --debug option.

By the way, I can successfully connect to imap.gmail.com:993 on Windows 7 and Ubuntu 14.04.
(only tested via SOCKS5 server, though)

Also available in: Atom PDF