Bug 3732

Summary: IMAP 'Keep Alive' NOOP commands interrupt POP3 login.
Product: Claws Mail (GTK 2) Reporter: Chris Hirst <claws-mail>
Component: Folders/IMAPAssignee: users
Status: RESOLVED INVALID    
Severity: normal    
Priority: P3    
Version: 3.14.0   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
claws network log of interrupted logins none

Description Chris Hirst 2016-11-22 18:52:02 UTC
Created attachment 1698 [details]
claws network log of interrupted logins

Configuration of POP3 and IMAP accounts.

IMAP triggers a 'Keep Alive' NOOP command during POP3 login/negotiation' and the POP3 login 'times out' and fails.

Log extracts attached.

Other POP3 connections are successful and once connected are never interrupted no matter how long the duration of message download & deletion. 

The same POP accounts will connect normally at other times.
Comment 1 Ricardo Mones 2016-11-22 19:27:36 UTC
(In reply to comment #0)
> Created attachment 1698 [details]
> claws network log of interrupted logins
> 
> Configuration of POP3 and IMAP accounts.
> 
> IMAP triggers a 'Keep Alive' NOOP command during POP3 login/negotiation' and
> the POP3 login 'times out' and fails.
> 
> Log extracts attached.
> 
> Other POP3 connections are successful and once connected are never
> interrupted no matter how long the duration of message download & deletion. 
> 
> The same POP accounts will connect normally at other times.

IMAP connections run in separate threads with different sockets, no way they can interrupt another open connection AFAIK.

The network log is a shared resource and messages from different protocols or sessions may be mixed, but that doesn't mean connections to the servers are shared.

In fact your log shows a clear example of a POP account which also timeouts without any other message in between:

,-----
| * Account 'uk-drills-non-delivery': Connecting to POP3 server: 94.76.203.118:110...
| ** Session timed out. You may be able to recover by increasing the timeout value in Preferences/Other/Miscellaneous.
`-----

So, I think that the POP server was simply having connectivity problems at wrong moment.